diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-02-29 16:10:32 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-02-29 16:10:32 (GMT) |
commit | 8ab114876204e36c5f6b3fd47d4140738f7ddcac (patch) | |
tree | df3988222eb94e42cb40044644461f9b037427e9 | |
parent | 405ab2378e89b6eb5148c096de113558cb52dad4 (diff) | |
download | cpython-8ab114876204e36c5f6b3fd47d4140738f7ddcac.zip cpython-8ab114876204e36c5f6b3fd47d4140738f7ddcac.tar.gz cpython-8ab114876204e36c5f6b3fd47d4140738f7ddcac.tar.bz2 |
Added __sinit() call, so C++ initializations in shared library work
-rw-r--r-- | Mac/Python/macshlglue.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Python/macshlglue.c b/Mac/Python/macshlglue.c index fc2adaf..9459140 100644 --- a/Mac/Python/macshlglue.c +++ b/Mac/Python/macshlglue.c @@ -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; |