git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-01-18 21:54:05 +00:00
commit 67940725e8
23 changed files with 419 additions and 419 deletions

View file

@ -20,7 +20,7 @@ static char cvsroot[] = "$Header$";
#include <stdio.h>
#include <ctype.h>
extern "C" FILE *SWIG_open(void *);
extern "C" FILE *Swig_open(void *);
/*******************************************************************************
* $Header$
@ -105,7 +105,7 @@ void copy_data(FILE *f1, String &s2) {
// -----------------------------------------------------------------------------
int insert_file(char *name, FILE *f_out) {
FILE *f;
f = SWIG_open((void *) name);
f = Swig_open((void *) name);
if (f) {
copy_data(f,f_out);
return 0;
@ -136,7 +136,7 @@ void swig_append(char *filename, FILE *f) {
// -----------------------------------------------------------------------------
int get_file(char *name, String &str) {
FILE *f;
f = SWIG_open((void *) name);
f = Swig_open((void *) name);
if (!f) {
fprintf(stderr,"SWIG Error. Unable to find %s. Possible installation problem.\n",name);
FatalError();