4 ms·
This looks nice! Is there a sample how to implement your own module in C and bind that to the scripting language? [Edit]: To answer myself the API seems really
by fsloth 5y ago
This looks nice! Is there a sample how to implement your own module in C and bind that to the scripting language?
[Edit]: To answer myself the API seems really clean and neat, it looks like the patterns used to implement the standard modules can be used as is - e.g. to implement a third party native module, a good pattern to start from is to observe how _fileOpen is implemented in cli/modules.c and added to module using pkModuleAddFunction