summaryrefslogtreecommitdiffstats
path: root/Include
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 /Include
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 'Include')
-rw-r--r--Include/pymactoolbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pymactoolbox.h b/Include/pymactoolbox.h
index 2286ebe..916dac7 100644
--- a/Include/pymactoolbox.h
+++ b/Include/pymactoolbox.h
@@ -178,6 +178,8 @@ extern int WinObj_Convert(PyObject *, WindowPtr *);
extern PyObject *WinObj_WhichWindow(WindowPtr);
/* CF exports */
+extern PyObject *CFObj_New(CFTypeRef);
+extern int CFObj_Convert(PyObject *, CFTypeRef *);
extern PyObject *CFTypeRefObj_New(CFTypeRef);
extern int CFTypeRefObj_Convert(PyObject *, CFTypeRef *);
extern PyObject *CFStringRefObj_New(CFStringRef);