Fix type missmatch (crucial for wasienv)
#define m3ApiGetArg(TYPE, NAME) TYPE NAME = * ((TYPE *) (_sp++));
#define m3ApiGetArgMem(TYPE, NAME) TYPE NAME = (TYPE) (_mem + * (u32 *) _sp++);
-#define m3ApiRawFunction(NAME) void NAME (IM3Runtime runtime, u64 * _sp, u8 * _mem)
-#define m3ApiReturn(VALUE) { *raw_return = (VALUE); return; }
+#define m3ApiRawFunction(NAME) m3ret_t NAME (IM3Runtime runtime, u64 * _sp, u8 * _mem)
+#define m3ApiReturn(VALUE) { *raw_return = (VALUE); return NULL; }
#endif /* m3_api_defs_h */
