diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2015-12-23 18:44:30 -0500 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2015-12-23 18:44:30 -0500 |
commit | d1877ffcb4b1d5e2d6eb2a27dda13b4014db9f8d (patch) | |
tree | 9d0e26e95461aaa04efeb8ad18d4afdef942d523 | |
parent | 2bb80d8844743b7251aba9f4e64631c259d9a75a (diff) | |
parent | 7d5dd6cdb33d0c855199826df925e4963494fac3 (diff) | |
download | swig-gsoc2012-objc.tar.gz |
Merge pull request #548 from dmigous/547_objc_bool_always_truegsoc2012-objc
objc.swg: fixed check of pointer to boolean. Fixes #547
-rw-r--r-- | Lib/objc/objc.swg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/objc/objc.swg b/Lib/objc/objc.swg index 0454c25b9..7e1865026 100644 --- a/Lib/objc/objc.swg +++ b/Lib/objc/objc.swg @@ -144,7 +144,7 @@ %{ $1 = $input? true : false; %} %typemap(in) bool * (bool temp), const bool * (bool temp), const bool & (bool temp), bool & (bool temp) { - temp = ($input) ? true : false; + temp = (*$input) ? true : false; $1 = &temp; } |