mirror of
https://github.com/samba-team/samba.git
synced 2025-10-29 04:23:51 +03:00
r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
This commit is contained in:
committed by
Stefan Metzmacher
parent
03270c5ffd
commit
ba8be2dfc0
@@ -173,7 +173,7 @@ _PUBLIC_ void ejs_exception(const char *reason)
|
||||
*/
|
||||
void smb_setup_ejs_functions(void (*exception_handler)(const char *))
|
||||
{
|
||||
init_module_fn static_init[] = STATIC_smbcalls_MODULES;
|
||||
init_module_fn static_init[] = { STATIC_smbcalls_MODULES, NULL };
|
||||
init_module_fn *shared_init;
|
||||
|
||||
ejs_exception_handler = exception_handler;
|
||||
|
||||
Reference in New Issue
Block a user