summaryrefslogtreecommitdiffstats
path: root/python/wrap_objs.h
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-08-02 23:59:26 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-08-02 23:59:26 +0000
commit8944a5f52d6d49ad646837e4595132500ddaccfe (patch)
treedc6eccdfbc051cb043ddd57a7f8157e2fc62f8af /python/wrap_objs.h
parent2586368612f993fdaee361cdbd4df889f29972f9 (diff)
downloadlasso-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.h8
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);