4 typedef rni_handle
* (*nm_stub_ffi
)(rni_handle
*);
8 CInvFunction
*prototype
;
15 typedef struct native_method native_method
;
17 #define NMETHOD_FIELDS 7
19 #define nmethod_allocate(st) (object_memory_new_object_mature(st->om, st->global->nmethod, NMETHOD_FIELDS))
20 #define nmethod_get_data(obj) cmethod_get_bytecodes(obj)
21 #define nmethod_set_data(obj, data) cmethod_set_bytecodes(obj, data)
23 #define nmethod_get_args(obj) ((native_method*) BYTES_OF(nmethod_get_data((obj))))->args
24 #define nmethod_set_args(obj,val) (((native_method*) BYTES_OF(nmethod_get_data((nm))))->args = val)