chiark / gitweb /
gf.c: remove stub file
authorMark Wooding <mdw@metalzone.distorted.org.uk>
Sat, 28 Jan 2006 14:04:24 +0000 (14:04 +0000)
committerMark Wooding <mdw@metalzone.distorted.org.uk>
Sat, 28 Jan 2006 14:04:24 +0000 (14:04 +0000)
This file never really got off the ground; the stuff that was meant
to go in it ended up in mp.c ages ago.

gf.c [deleted file]

diff --git a/gf.c b/gf.c
deleted file mode 100644 (file)
index 6933c7e..0000000
--- a/gf.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/* -*-c-*-
- *
- * $Id$
- *
- * Binary polynomial arithmetic
- *
- * (c) 2004 Straylight/Edgeware
- */
-
-/*----- Licensing notice --------------------------------------------------* 
- *
- * This file is part of the Python interface to Catacomb.
- *
- * Catacomb/Python is free software; you can redistribute it and/or modify
- * 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.
- * 
- * Catacomb/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 Catacomb/Python; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log$
- */
-
-/*----- Header files ------------------------------------------------------*/
-
-#include "catacomb-python.h"
-
-/*----- Main code ---------------------------------------------------------*/
-
-PyTypeObject *gf_pytype;
-
-PyObject *gf_pywrap(mp *x)
-{
-  mp_pyobj *z = PyObject_New(mp_pyobj, mp_pytype);
-  z->x = x;
-  return ((PyObject *)z);
-}
-
-mp *getgf(PyObject *o)
-{
-  mp *x = 0;
-  if ((x = tomp(o)) == 0) {
-    PyErr_Format(PyExc_TypeError, "can't convert %.100s to gf",
-                o->ob_type->tp_name);
-  }
-  return (x);
-}
-
-
-
-/*----- That's all, folks -------------------------------------------------*/