Skip to content
Browse files

Make header for generated C.

  • Loading branch information...
1 parent a39190a commit 3ac547622f47d96a9823e2fbeddb8e883174dc97 @lennax lennax committed with peterjc
Showing with 6 additions and 3 deletions.
  1. +1 −3 Bio/PDB/mmCIF/MMCIFlexmodule.c
  2. +5 −0 Bio/PDB/mmCIF/lex.yy.h
View
4 Bio/PDB/mmCIF/MMCIFlexmodule.c
@@ -1,6 +1,6 @@
#include <Python.h>
+#include "lex.yy.h"
-extern char *mmcif_get_string(void);
FILE *fp;
@@ -13,7 +13,6 @@ static PyObject *MMCIFlex_open_file(PyObject *self, PyObject *args)
fp=fopen(filename, "r");
- extern void mmcif_set_file(FILE *fp);
mmcif_set_file(fp);
Py_INCREF(Py_None);
@@ -42,7 +41,6 @@ static PyObject *MMCIFlex_get_token(PyObject *self, PyObject *args)
char *value="";
/* get token number */
- extern int mmcif_get_token(void);
flag=mmcif_get_token();
/* if flag==0 we are EOF */
View
5 Bio/PDB/mmCIF/lex.yy.h
@@ -0,0 +1,5 @@
+void mmcif_set_file(FILE *fp);
+
+int mmcif_get_token(void);
+
+char *mmcif_get_string(void);

0 comments on commit 3ac5476

Please sign in to comment.
Something went wrong with that request. Please try again.