interpreter: use light_ffi to force support for the `instance` extern methods
authorAlexis Laferrière <alexis.laf@xymus.net>
Mon, 18 Apr 2016 17:23:36 +0000 (13:23 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Mon, 18 Apr 2016 18:12:15 +0000 (14:12 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

src/interpreter/dynamic_loading_ffi/dynamic_loading_ffi.nit

index b507c9d..af848f6 100644 (file)
@@ -125,10 +125,10 @@ private extern class CallArg `{ nit_call_arg* `}
        fun pointer=(value: Pointer) `{ self->value_Pointer = value; `}
 
        # The `Instance` held by this cell
-       fun instance: Instance `{ return (Instance)self->value_Pointer; `}
+       fun instance: Instance is light_ffi `{ return (Instance)self->value_Pointer; `}
 
        # The `Instance` held by this cell
-       fun instance=(value: Instance) `{ self->value_Pointer = value; `}
+       fun instance=(value: Instance) is light_ffi `{ self->value_Pointer = value; `}
 
        # The `NativeString` held by this cell
        fun native_string: NativeString `{ return (char*)self->value_Pointer; `}