summaryrefslogtreecommitdiff
path: root/ports/unix/modjni.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/unix/modjni.c')
-rw-r--r--ports/unix/modjni.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/unix/modjni.c b/ports/unix/modjni.c
index 4b95a0c67..5d2beaa8d 100644
--- a/ports/unix/modjni.c
+++ b/ports/unix/modjni.c
@@ -712,3 +712,5 @@ const mp_obj_module_t mp_module_jni = {
.base = { &mp_type_module },
.globals = (mp_obj_dict_t *)&mp_module_jni_globals,
};
+
+MP_REGISTER_MODULE(MP_QSTR_jni, mp_module_jni, MICROPY_PY_JNI);