Removed bool type--won't compile with some compilers (such as mine)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d3a396b1d1
commit
4afe234098
2 changed files with 3 additions and 3 deletions
|
|
@ -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]) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue