Skip to content
Snippets Groups Projects
Commit 332bad11 authored by David Gobbi's avatar David Gobbi
Browse files

Hide the Python wrapper AddFile functions

It is not necessary to export these functions, since they are only
called from the Init.cxx file within the same module.  Hiding them
results in a tidier DLL interface.
parent 7ec926c1
No related branches found
No related tags found
No related merge requests found
......@@ -395,7 +395,7 @@ int VTK_PARSE_MAIN(int argc, char* argv[])
/* do the export of the main entry point */
fprintf(
fp, "extern \"C\" { %s void PyVTKAddFile_%s(PyObject *dict); }\n", "VTK_ABI_EXPORT", name);
fp, "extern \"C\" { %s void PyVTKAddFile_%s(PyObject *dict); }\n", "VTK_ABI_HIDDEN", name);
/* get the module that is being wrapped */
data = file_info->MainClass;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment