tests: re-distinquish compilation errors.
[nit.git] / c_src / exec._nitni.h
index 151e434..8b0597a 100644 (file)
@@ -1,15 +1,17 @@
 #include <nit_common.h>
-#include "exec._sep.h"
+#include "standard___exec._sep.h"
 #ifndef EXEC_NITNI_H
 #define EXEC_NITNI_H
 
 #ifndef PROCESS_TYPE
 #define PROCESS_TYPE
-typedef struct s_Process{
-       val_t v;
-} Process;
+struct s_Process{
+               struct nitni_ref ref; /* real ref struct, must be first */
+};
+typedef struct s_Process *Process;
+#define Process_incr_ref( x ) nitni_global_ref_incr( (struct nitni_ref*)(x) )
+#define Process_decr_ref( x ) nitni_global_ref_decr( (struct nitni_ref*)(x) )
 #endif
-
 #include "exec_nit.h"
 
 /* out/indirect function for exec::Process::basic_exec_execute */