src/interpreter: Added fixints to interpreter
[nit.git] / src / interpreter / dynamic_loading_ffi / on_demand_compiler.nit
index f9c8fb5..eba0678 100644 (file)
@@ -75,7 +75,7 @@ redef class AModule
                var compile_dir = v.compile_dir
                var foreign_code_lib_path = v.foreign_code_lib_path(mmodule)
 
-               compile_dir.mkdir
+               if not compile_dir.file_exists then compile_dir.mkdir
 
                # Compile the common FFI part
                ensure_compile_ffi_wrapper
@@ -143,6 +143,11 @@ typedef union nit_call_arg {
        int value_Bool;
        uint32_t value_Char;
        uint8_t value_Byte;
+       int8_t value_Int8;
+       int16_t value_Int16;
+       uint16_t value_UInt16;
+       int32_t value_Int32;
+       uint32_t value_UInt32;
        double value_Float;
        void* value_Pointer;
 } nit_call_arg;