diff options
| author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-02 23:59:26 +0000 |
|---|---|---|
| committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-02 23:59:26 +0000 |
| commit | 8944a5f52d6d49ad646837e4595132500ddaccfe (patch) | |
| tree | dc6eccdfbc051cb043ddd57a7f8157e2fc62f8af /python/wrap_objs.h | |
| parent | 2586368612f993fdaee361cdbd4df889f29972f9 (diff) | |
| download | lasso-8944a5f52d6d49ad646837e4595132500ddaccfe.tar.gz lasso-8944a5f52d6d49ad646837e4595132500ddaccfe.tar.xz lasso-8944a5f52d6d49ad646837e4595132500ddaccfe.zip | |
- Replaced some charPtrConst_wrap() calls by charPtr_wrap()
- Added GPtrArray_wrap() function to wrap GPtrArray into Python list.
- Added session_getattr() function, we can get now providerIDs and
is_dirty properties of Session objects.
Diffstat (limited to 'python/wrap_objs.h')
| -rw-r--r-- | python/wrap_objs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/python/wrap_objs.h b/python/wrap_objs.h index 3e779ab1..7b2e5e62 100644 --- a/python/wrap_objs.h +++ b/python/wrap_objs.h @@ -49,15 +49,17 @@ typedef struct { /* Functions to wrap Python objects -> C objects */ #define PythonFile_get(v) (((v) == Py_None) ? NULL : (PyFile_Check(v) ? (PyFile_AsFile(v)) : stdout)) -xmlChar **PythonStringList_get(PyObject *list_obj); -GPtrArray *PythonStringList2_get(PyObject *list_obj); +xmlChar** PythonStringList_get(PyObject *list_obj); +GPtrArray* GPtrArray_get(PyObject *list_obj); PyObject *int_wrap(int val); PyObject *charPtr_wrap(char *str); PyObject *charPtrConst_wrap(const char *str); +PyObject* GPtrArray_wrap(GPtrArray *array); + PyObject *xmlCharPtr_wrap(xmlChar *str); -PyObject *wrap_xmlCharPtrConst(const xmlChar *str); +PyObject *xmlCharPtrConst_wrap(const xmlChar *str); PyObject *wrap_xmlDocPtr(xmlDocPtr doc); PyObject *wrap_xmlNodePtr(xmlNodePtr node); PyObject *wrap_xmlNodeSetPtr(xmlNodeSetPtr nset); |
