From 7d5dd6cdb33d0c855199826df925e4963494fac3 Mon Sep 17 00:00:00 2001 From: Dmitry Belous Date: Mon, 26 Oct 2015 11:31:50 +0200 Subject: objc.swg: fixed check of pointer to boolean. Fixes #547 --- Lib/objc/objc.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1