mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Added functions CFObj_New and CFObj_Convert, general functions to convert
between CF objects and their Python representation. Fixes 734695.
This commit is contained in:
parent
893801efb6
commit
4eb45e7804
4 changed files with 103 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue