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;
|
module = NULL;
|
||||||
package = NULL;
|
package = NULL;
|
||||||
linkage = GUILE_LSTYLE_SIMPLE;
|
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) {
|
else if (strcmp (argv[i], "-with-smobs") == 0) {
|
||||||
Swig_mark_arg (i);
|
Swig_mark_arg (i);
|
||||||
with_smobs = true;
|
with_smobs = 1;
|
||||||
}
|
}
|
||||||
else if (strcmp (argv[i], "-prefix") == 0) {
|
else if (strcmp (argv[i], "-prefix") == 0) {
|
||||||
if (argv[i + 1]) {
|
if (argv[i + 1]) {
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ private:
|
||||||
GUILE_LSTYLE_LTDLMOD, // "native" guile?
|
GUILE_LSTYLE_LTDLMOD, // "native" guile?
|
||||||
GUILE_LSTYLE_HOBBIT // use (hobbit4d link)
|
GUILE_LSTYLE_HOBBIT // use (hobbit4d link)
|
||||||
} linkage;
|
} linkage;
|
||||||
bool with_smobs;
|
int with_smobs;
|
||||||
void get_pointer(char *iname, int parm, DataType *t,
|
void get_pointer(char *iname, int parm, DataType *t,
|
||||||
WrapperFunction &f, const String &proc_name,
|
WrapperFunction &f, const String &proc_name,
|
||||||
int num_scheme_parm);
|
int num_scheme_parm);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue