nitc/ffi: adds a variable to know if a module uses the native interface
[nit.git] / src / metamodel / abstractmetamodel.nit
index 71e9097..37f9472 100644 (file)
@@ -159,6 +159,9 @@ abstract class MMModule
        # extern class declaration
        var is_extern_hybrid : Bool writable = false
 
+       # Uses foreign function interface
+       fun uses_ffi : Bool is abstract
+
        protected init(name: Symbol, dir: MMDirectory, context: MMContext, loc: Location)
        do
                _name = name