diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-08-23 13:51:46 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-08-23 13:51:46 (GMT) |
commit | 77105a960b078d79a4e7827b320e66217a78a0f8 (patch) | |
tree | d1fe67a54dc00b2dcb552d3187efd2fd9f2b2794 /Mac/Modules/res | |
parent | 88e0b5bee0e69b628a9358c987bf49ac885d1c21 (diff) | |
download | cpython-77105a960b078d79a4e7827b320e66217a78a0f8.zip cpython-77105a960b078d79a4e7827b320e66217a78a0f8.tar.gz cpython-77105a960b078d79a4e7827b320e66217a78a0f8.tar.bz2 |
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
Diffstat (limited to 'Mac/Modules/res')
-rw-r--r-- | Mac/Modules/res/ressupport.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/res/ressupport.py b/Mac/Modules/res/ressupport.py index 8be1b94..2a72748 100644 --- a/Mac/Modules/res/ressupport.py +++ b/Mac/Modules/res/ressupport.py @@ -93,7 +93,7 @@ initstuff = initstuff + """ PyMac_INIT_TOOLBOX_OBJECT_CONVERT(Handle, OptResObj_Convert); """ -module = MacModule('Res', 'Res', includestuff, finalstuff, initstuff) +module = MacModule('_Res', 'Res', includestuff, finalstuff, initstuff) getattrHookCode = """ if (strcmp(name, "size") == 0) @@ -192,5 +192,5 @@ execfile('resedit.py') for f in functions: module.add(f) for f in resmethods: resobject.add(f) -SetOutputFileName('Resmodule.c') +SetOutputFileName('_Resmodule.c') module.generate() |