diff options
author | Leif Middelschulte <leif.middelschulte@gmail.com> | 2012-08-20 13:22:07 +0000 |
---|---|---|
committer | Leif Middelschulte <leif.middelschulte@gmail.com> | 2012-08-20 13:22:07 +0000 |
commit | b75cba540a26f708d3052726ed99a183379d3ea7 (patch) | |
tree | 2e193b556143bf06db9107827805111351a94412 | |
parent | b7699ce14a17fc8970e29ee3dabbd8fe661464d3 (diff) | |
download | swig-b75cba540a26f708d3052726ed99a183379d3ea7.tar.gz |
Remove leftovers of replaced typemap macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r-- | Lib/c/c.swg | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/c/c.swg b/Lib/c/c.swg index d1daeba8b..fb9306c83 100644 --- a/Lib/c/c.swg +++ b/Lib/c/c.swg @@ -171,16 +171,6 @@ explicit_same_type_all_primitive_types_but_void(ctype); %typemap(ctype, fragment="stdbool_inc") bool & "$1_ltype" %typemap(ctype, fragment="stdbool_inc") const bool & "$1_ltype const" - -%define in_assignment_cast(PRE, POST) -PRE short POST, PRE int POST, PRE long POST, PRE long long POST, PRE char POST, PRE float POST, PRE double POST "$1 = ($1_ltype) $input;" -%enddef - -//this macro is necessary, because 'unsigned double' is not allowed. -%define in_assignment_cast_unsigned_only(PRE, POST) -PRE float POST, PRE double POST, PRE signed char POST, PRE size_t POST "$1 = ($1_ltype) $input;" -%enddef - same_action_all_primitive_types_but_void(in, "$1 = ($1_ltype) $input;") %typemap(in) short [ANY], int [ANY], long [ANY], long long [ANY], char [ANY], float [ANY], double [ANY], unsigned char [ANY] "$1 = ($1_basetype *) $input;" |