chiark / gitweb /
General reorganization.
[mLib-python] / atom.h
diff --git a/atom.h b/atom.h
index 8a2ff31..6bc5bd3 100644 (file)
--- a/atom.h
+++ b/atom.h
@@ -49,11 +49,13 @@ typedef struct atom_pyobj {
 #define ATOM_PYCHECK(obj) PyObject_TypeCheck(obj, &atom_pytype)
 #define ATOM_A(obj) (((atom_pyobj *)(obj))->a)
 
+extern PyTypeObject atom_pytype;
+
 /*----- Functions provided ------------------------------------------------*/
 
 extern PyObject *atom_pywrap(atom *);
 extern PyObject *atom_pyintern(PyObject *);
-extern PyObject *atom_pystartup(void);
+extern void atom_pysetup(void);
 
 /*----- That's all, folks -------------------------------------------------*/