summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-11-06 15:56:56 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-11-06 15:56:56 (GMT)
commitdf222d269116db8ec6a391b1c3b7569951146170 (patch)
treecd4e614325a90ef67fca99975948f9a0b25e7298
parent6952177dba07e2b6c8ea90dcd3074a649a6978a5 (diff)
downloadcpython-df222d269116db8ec6a391b1c3b7569951146170.zip
cpython-df222d269116db8ec6a391b1c3b7569951146170.tar.gz
cpython-df222d269116db8ec6a391b1c3b7569951146170.tar.bz2
Added hfsplusapi module.
-rw-r--r--Mac/Build/PythonStandSmall.mcpbin333267 -> 333267 bytes
-rw-r--r--Mac/Modules/macconfig.c4
-rw-r--r--Mac/scripts/fullbuild.py1
-rw-r--r--Mac/scripts/genpluginprojects.py1
4 files changed, 6 insertions, 0 deletions
diff --git a/Mac/Build/PythonStandSmall.mcp b/Mac/Build/PythonStandSmall.mcp
index 1cff11f..92231b8 100644
--- a/Mac/Build/PythonStandSmall.mcp
+++ b/Mac/Build/PythonStandSmall.mcp
Binary files differ
diff --git a/Mac/Modules/macconfig.c b/Mac/Modules/macconfig.c
index 5d17c0b..5c545b4 100644
--- a/Mac/Modules/macconfig.c
+++ b/Mac/Modules/macconfig.c
@@ -81,6 +81,7 @@ extern void initpcre();
extern void initunicodedata();
extern void init_codecs();
extern void initNav();
+extern void inithfsplus();
#ifdef USE_MACCTB
extern void initctb();
#endif
@@ -247,7 +248,10 @@ struct _inittab _PyImport_Inittab[] = {
#if TARGET_API_MAC_CARBON
{"_CF", init_CF},
#endif
+#if TARGET_API_MAC_CARBON
+ {"hfsplus", inithfsplus},
#endif
+#endif /* USE_TOOLBOX */
#ifdef USE_QT
{"_Cm", init_Cm},
{"_Qt", init_Qt},
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py
index eb815b8..c7ff3db 100644
--- a/Mac/scripts/fullbuild.py
+++ b/Mac/scripts/fullbuild.py
@@ -292,6 +292,7 @@ I_CARBON_PLUGINS : (buildmwproject, "CWIE", [
(":Mac:Build:waste.carbon.mcp", "waste.carbon"),
(":Mac:Build:zlib.carbon.mcp", "zlib.carbon"),
(":Mac:Build:_dummy_tkinter.mcp", "_tkinter.carbon"),
+ (":Mac:Build:hfsplus.mcp", "hfsplus.carbon"),
## (":Extensions:Imaging:_tkinter.carbon.mcp", "_tkinter.carbon"),
(":Mac:Build:ColorPicker.carbon.mcp", "ColorPicker.carbon"),
(":Mac:Build:_AE.carbon.mcp", "_AE.carbon"),
diff --git a/Mac/scripts/genpluginprojects.py b/Mac/scripts/genpluginprojects.py
index 3c41fcd..bbd8f04 100644
--- a/Mac/scripts/genpluginprojects.py
+++ b/Mac/scripts/genpluginprojects.py
@@ -157,6 +157,7 @@ def genallprojects(force=0):
outputdir="::Lib:Carbon")
# Carbon Only?
genpluginproject("carbon", "_CF", outputdir="::Lib:Carbon")
+ genpluginproject("carbon", "hfsplus")
# Other Mac modules
genpluginproject("all", "calldll", sources=["calldll.c"])