doc/
subfolder, the README file is autogenerated)I can not remember the last time I wrote any C which was likely a class assignment last century. Anyways I came across this issue and it seemed in reach to get the ball rolling. I know this PR needs more work but my goal is to share my progress to help move this feature forward.
Based on https://github.com/svaarala/duktape/tree/master/extras/module-node
added:
updated:
Included the extra header and initialize the bindings after 'load JS context' was created.
added cb_resolve_module
to resolve the full file system path for requested_id and parent_id
added cb_load_module
function which uses jsdt_load_file
to load resolved file
With absolute and relative modules working I met my current requirements to allow breaking routing into multiple smaller files.
https://github.com/kamailio/kamailio/pull/3038
(4 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.