Removed bool type--won't compile with some compilers (such as mine)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2000-04-04 15:16:51 +00:00
commit 79b5a43c80
2 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ GUILE::GUILE ()
module = NULL;
package = NULL;
linkage = GUILE_LSTYLE_SIMPLE;
with_smobs = false;
with_smobs = 0;
}
// ---------------------------------------------------------------------
@ -86,7 +86,7 @@ GUILE::parse_args (int argc, char *argv[])
}
else if (strcmp (argv[i], "-with-smobs") == 0) {
Swig_mark_arg (i);
with_smobs = true;
with_smobs = 1;
}
else if (strcmp (argv[i], "-prefix") == 0) {
if (argv[i + 1]) {

View file

@ -34,7 +34,7 @@ private:
GUILE_LSTYLE_LTDLMOD, // "native" guile?
GUILE_LSTYLE_HOBBIT // use (hobbit4d link)
} linkage;
bool with_smobs;
int with_smobs;
void get_pointer(char *iname, int parm, DataType *t,
WrapperFunction &f, const String &proc_name,
int num_scheme_parm);