chiark / gitweb /
setup.py: Update to use pkg-config.
[mLib-python] / atom.h
diff --git a/atom.h b/atom.h
index 8a2ff318c1f5c1560ddf02aad1fa65e186d0f7bb..3f1a04feb16890b8455fe24bce5b5652ba2b761e 100644 (file)
--- a/atom.h
+++ b/atom.h
@@ -7,7 +7,7 @@
  * (c) 2005 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of the Python interface to mLib.
  *
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * mLib/Python is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with mLib/Python; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
@@ -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 -------------------------------------------------*/