diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-08-16 21:50:25 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-08-16 21:50:25 +0800 |
commit | 8b72e93f4512de6d07e1e1286a5557eaa72e2448 (patch) | |
tree | c4b737ffbb411344adda5a4420fbc5c2d7f5727e | |
parent | 3cbe132af793efa6142ee7d826bdab74ef110a6f (diff) |
The typemaps so far are Perl only
-rw-r--r-- | pikul.i | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,8 @@ #include "pikul.h" %} +#ifdef SWIGPERL + %typemap(in) char *[] { AV *tempav = (AV *)SvRV($input); I32 len = av_len(tempav); @@ -41,5 +43,7 @@ free($1); } +#endif + %rename("%(strip:[pikul_])s") ""; %include "pikul.h" |