summaryrefslogtreecommitdiffstats
path: root/bindings/lang_python_wrapper_bottom.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_bottom.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_bottom.c')
-rw-r--r--bindings/lang_python_wrapper_bottom.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bindings/lang_python_wrapper_bottom.c b/bindings/lang_python_wrapper_bottom.c
index 737ec02e..5f1220c3 100644
--- a/bindings/lang_python_wrapper_bottom.c
+++ b/bindings/lang_python_wrapper_bottom.c
@@ -1,6 +1,8 @@
PyMODINIT_FUNC
init_lasso(void)
{
+ PyObject *m;
+
if (PyType_Ready(&PyGObjectPtrType) < 0)
return;
@@ -10,7 +12,7 @@ init_lasso(void)
lasso_wrapper_key = g_quark_from_static_string("PyLasso::wrapper");
Py_INCREF(&PyGObjectPtrType);
- PyModule_AddObject(m, "PyGobjectPtr", (PyObject *)&PyGobjectPtrType);
+ PyModule_AddObject(m, "PyGObjectPtr", (PyObject *)&PyGObjectPtrType);
}