mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Added more prototypes.
This commit is contained in:
parent
1f9f2f4c49
commit
5bdbabd203
3 changed files with 10 additions and 6 deletions
|
@ -50,6 +50,12 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
#include <Files.h>
|
||||
#include <Resources.h>
|
||||
|
||||
/* Defined in the MSL runtime: */
|
||||
extern void __initialize(void);
|
||||
|
||||
/* Defined either in macglue.c or in a MPW library: */
|
||||
extern pascal int PLstrcmp(unsigned char *, unsigned char *);
|
||||
|
||||
/*
|
||||
** Variables passed from shared lib initialization to PyMac_AddLibResources.
|
||||
*/
|
||||
|
@ -64,12 +70,7 @@ OSErr pascal
|
|||
__initialize_with_resources(CFragInitBlockPtr data)
|
||||
{
|
||||
/* Call the MW runtime's initialization routine */
|
||||
/* #ifdef __CFM68K__ */
|
||||
#if 1
|
||||
__initialize();
|
||||
#else
|
||||
__sinit();
|
||||
#endif
|
||||
|
||||
if ( data == nil ) return noErr;
|
||||
if ( data->fragLocator.where == kDataForkCFragLocator ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue