| Register a fake native module. |
| Declaration: |
| void ferite_module_register_fake_module( char *name, void *_register, void *_unregister, void *_init, void *_deinit ) |
| Description: |
| This function is used to register fake modules from an application. This allows you to to setup a module to be loaded from an application. Combined with ferite_module_do_preload this will provide a method of exporting api to scripts using standard module methods. |
| Parameters: |
| Parameter #1: char *name - The name of the module. Even though this is a fake module it must be post fixed with the ".lib" extension. |
| Parameter #2: void *_register - A pointer to the register function - can be NULL |
| Parameter #3: void *_unregister - A pointer to the unregister function - can be NULL |
| Parameter #4: void *_init - A pointer to the init function - must not be NULL |
| Parameter #5: void *_deinit - A pointer to the deinit function - must not be NULL |