summaryrefslogtreecommitdiffstats
path: root/bindings/lang_python_wrapper_top.c
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2008-04-29 12:01:42 +0000
committerFrederic Peters <fpeters@entrouvert.com>2008-04-29 12:01:42 +0000
commitb67dcfb9e6bd3ea329bb04875764879a2e7f9cd0 (patch)
tree0cbd6fd8bf7a31620386feda70c861b2ee7d8804 /bindings/lang_python_wrapper_top.c
parenteddccffb2412dd42754cc36244ea6476d742d691 (diff)
downloadlasso-b67dcfb9e6bd3ea329bb04875764879a2e7f9cd0.tar.gz
lasso-b67dcfb9e6bd3ea329bb04875764879a2e7f9cd0.tar.xz
lasso-b67dcfb9e6bd3ea329bb04875764879a2e7f9cd0.zip
[project @ fpeters@0d.be-20071005155511-13lg9tc7usfht3ud]
minimalistic functional module $ python -c 'import lasso; print lasso.Samlp2AuthnRequest().dump()' <samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" SignType="0" SignMethod="0" ForceAuthn="false" IsPassive="false"/> Original author: Frederic Peters <fpeters@0d.be> Date: 2007-10-05 17:55:11.508000+02:00
Diffstat (limited to 'bindings/lang_python_wrapper_top.c')
-rw-r--r--bindings/lang_python_wrapper_top.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/lang_python_wrapper_top.c b/bindings/lang_python_wrapper_top.c
index 6c5f74a2..255087c3 100644
--- a/bindings/lang_python_wrapper_top.c
+++ b/bindings/lang_python_wrapper_top.c
@@ -28,7 +28,7 @@ PyGObjectPtr_New(GObject *obj)
return Py_None;
}
- self = (PyGObjectPtr*)g_object_get_qdata(obj, lasso_wrapper_key)
+ self = (PyGObjectPtr*)g_object_get_qdata(obj, lasso_wrapper_key);
if (self != NULL) {
Py_INCREF(self);
} else {
@@ -40,7 +40,7 @@ PyGObjectPtr_New(GObject *obj)
}
static PyTypeObject PyGObjectPtrType = {
- PyObject_HEAD_INIT(NULL),
+ PyObject_HEAD_INIT(NULL)
0, /* ob_size */
"_lasso.PyGObjectPtr", /* tp_name */
sizeof(PyGObjectPtr), /* tp_basicsize */