mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +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 used to be commit ba8be2dfc0
)
This commit is contained in:
committed by
Stefan Metzmacher
parent
1ab5bcfb93
commit
be33f4c611
@ -20,6 +20,10 @@
|
||||
#include "includes.h"
|
||||
#include <Python.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
void py_load_samba_modules(void);
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
py_load_samba_modules();
|
||||
return Py_Main(argc,argv);
|
||||
}
|
||||
|
Reference in New Issue
Block a user