diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-17 09:52:30 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-17 09:52:30 +0800 |
commit | 3eb347f32335a58c681d1777dfeef8c6dc1c76d5 (patch) | |
tree | 2b4503bc0abc2c5dfed0db7519b5d5844b4f14c4 | |
parent | 0930b738f5261d4e2630242ca5fa2a6bc63026ff (diff) |
_Bool typemap
-rw-r--r-- | pikul.i | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -41,6 +41,10 @@ free($1); } +%typemap(in) _Bool { + $1 = $input; +} + %rename("%(strip:[pikul_])s") ""; void pikul_init(enum pikul_company company, char *provisions[]); double pikul_cost(const char *origin, const char *destination, double weight, const char *service); |