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
This commit is contained in:
parent
b7699ce14a
commit
b75cba540a
1 changed files with 0 additions and 10 deletions
10
Lib/c/c.swg
10
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;"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue