import metamodel
redef class MMLocalClass
+ # extern type of extern classes
+ fun extern_c_type : String is abstract
+
# Cached primitive_info result
var _primitive_info_cache: nullable PrimitiveInfo = null
_primitive_info_b = true
return _primitive_info_cache
end
+ if global.is_extern then
+ var pi = new PrimitiveInfo( name, false, extern_c_type )
+ _primitive_info_cache = pi
+ _primitive_info_b = true
+ return _primitive_info_cache
+ end
var i = ctypes.iterator
while i.is_ok do
var n = i.key