Kaydet (Commit) 8ec9e639 authored tarafından Guido van Rossum's avatar Guido van Rossum

Adapt Mac specific code to new universal headers (I think -- this is

Jack's code).
üst dfed920e
......@@ -1610,14 +1610,14 @@ static FSSpec library_fss;
** resources.
*/
OSErr pascal
init_tkinter_shlib(InitBlockPtr data)
init_tkinter_shlib(CFragInitBlockPtr data)
{
__initialize();
if ( data == nil ) return noErr;
if ( data->fragLocator.where == kOnDiskFlat ) {
if ( data->fragLocator.where == kDataForkCFragLocator ) {
library_fss = *data->fragLocator.u.onDisk.fileSpec;
loaded_from_shlib = 1;
} else if ( data->fragLocator.where == kOnDiskSegmented ) {
} else if ( data->fragLocator.where == kResourceCFragLocator ) {
library_fss = *data->fragLocator.u.inSegs.fileSpec;
loaded_from_shlib = 1;
}
......
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