Lines Matching refs:module_name
63 #define JERRYX_NATIVE_MODULE(module_name, on_resolve_cb) \ argument
64 JERRYX_NATIVE_MODULE_IMPLEM(module_name, on_resolve_cb)
66 #define JERRYX_NATIVE_MODULE_IMPLEM(module_name, on_resolve_cb) \ argument
67 static jerryx_native_module_t _ ## module_name ## _definition = \
69 .name_p = (jerry_char_t *) #module_name, \
75 module_name ## _register (void) JERRYX_MODULE_CONSTRUCTOR_ATTRIBUTE; \
77 module_name ## _register (void) \
79 jerryx_native_module_register(&_##module_name##_definition); \
83 module_name ## _unregister (void) \
86 module_name ## _unregister (void) \
88 jerryx_native_module_unregister(&_##module_name##_definition); \