add native bool support

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-10 07:27:12 +00:00
commit 75d64a4018
3 changed files with 53 additions and 0 deletions

View file

@ -108,6 +108,14 @@ static char *bar(void *) {
};
bool fbool(bool b) {
return b;
}
int fbool(int b) {
return b;
}
char *fint(int) {
return (char*) "fint:int";
}