summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-05-27 21:39:58 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-05-27 21:39:58 (GMT)
commit4eb45e7804e312b19860b15dcdac904afe407c9b (patch)
tree8fe61b15da23a23d17bf894f8ab08fd4c2ee91c2 /Python
parent893801efb6add1145f620ae70d5bef51c440821f (diff)
downloadcpython-4eb45e7804e312b19860b15dcdac904afe407c9b.zip
cpython-4eb45e7804e312b19860b15dcdac904afe407c9b.tar.gz
cpython-4eb45e7804e312b19860b15dcdac904afe407c9b.tar.bz2
Added functions CFObj_New and CFObj_Convert, general functions to convert
between CF objects and their Python representation. Fixes 734695.
Diffstat (limited to 'Python')
-rw-r--r--Python/mactoolboxglue.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/mactoolboxglue.c b/Python/mactoolboxglue.c
index a939ee5..8b31f7f 100644
--- a/Python/mactoolboxglue.c
+++ b/Python/mactoolboxglue.c
@@ -593,6 +593,9 @@ GLUE_NEW(WindowPtr, WinObj_New, "Carbon.Win")
GLUE_CONVERT(WindowPtr, WinObj_Convert, "Carbon.Win")
GLUE_NEW(WindowPtr, WinObj_WhichWindow, "Carbon.Win")
+GLUE_CONVERT(CFTypeRef, CFObj_Convert, "Carbon.CF")
+GLUE_NEW(CFTypeRef, CFObj_New, "Carbon.CF")
+
GLUE_CONVERT(CFTypeRef, CFTypeRefObj_Convert, "Carbon.CF")
GLUE_NEW(CFTypeRef, CFTypeRefObj_New, "Carbon.CF")