Commit ebf9fa62 authored by Jack Jansen's avatar Jack Jansen

Added __sinit() call, so C++ initializations in shared library work

parent ca9bf3ee
......@@ -42,6 +42,9 @@ static FSSpec library_fss;
OSErr pascal
PythonCore_init(InitBlockPtr data)
{
/* Initialize C++ static data (if needed) */
__sinit();
if ( data == nil ) return noErr;
if ( data->fragLocator.where == kOnDiskFlat ) {
library_fss = *data->fragLocator.u.onDisk.fileSpec;
......
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