Commit 0ddb2c13 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Code Review
Browse files

Merge topic 'export-real-python-init-functions' into master

d9de1ccb Export the real_init* function from *PythonD libraries
parents be117487 d9de1ccb
......@@ -64,7 +64,7 @@ static void CreateImplFile(const char *libName,
fprintf(fout,"\nstatic PyMethodDef Py%s_ClassMethods[] = {\n", libName);
fprintf(fout,"{NULL, NULL, 0, NULL}};\n\n");
fprintf(fout,"extern \"C\" { void real_init%s(const char *modulename); }\n\n", libName);
fprintf(fout,"extern \"C\" {%svoid real_init%s(const char *modulename); }\n\n", dllexp, libName);
fprintf(fout,"void real_init%s(const char *modulename)\n{\n", libName);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment