]> granicus.if.org Git - python/commitdiff
Added __sinit() call, so C++ initializations in shared library work
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 29 Feb 1996 16:10:32 +0000 (16:10 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 29 Feb 1996 16:10:32 +0000 (16:10 +0000)
Mac/Python/macshlglue.c

index fc2adaf2565ecb3309dbdfa53f0fb786cfc25dd2..9459140581918061eed7d41a1bc8f06624cdb07d 100644 (file)
@@ -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;