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:
parent
c6baa21db4
commit
75d64a4018
3 changed files with 53 additions and 0 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue