Home /Modules/impl/native_method_aot_library.sleela

native_method_aot_library.sleela

impl/tests/native_drive/native_method_aot_library.sleela · 8 line(s) · sleela

#sleela 3.0
class NativeAotLibrary {
    @native
    static int add(int left, int right) {
        return left + right;
    }
}