Commit d9de1ccb authored by Ben Boeckel's avatar Ben Boeckel
Browse files

Export the real_init* function from *PythonD libraries

Change-Id: Iff5ede46bd411d36f3c35bcf980c7c4748e9a90f
parent be117487
......@@ -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