simplify the ASPTR_ARGS and ASVAL_ARGS macros to one AS_ARG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ccf9e8d3b5
commit
23c9555292
3 changed files with 12 additions and 26 deletions
|
|
@ -11,11 +11,8 @@
|
|||
the decl/call macros as needed.
|
||||
*/
|
||||
|
||||
#define SWIG_ASPTR_DECL_ARGS SWIG_PERL_DECL_ARGS_2
|
||||
#define SWIG_ASPTR_CALL_ARGS SWIG_PERL_CALL_ARGS_2
|
||||
|
||||
#define SWIG_ASVAL_DECL_ARGS SWIG_PERL_DECL_ARGS_2
|
||||
#define SWIG_ASVAL_CALL_ARGS SWIG_PERL_CALL_ARGS_2
|
||||
#define SWIG_AS_DECL_ARGS SWIG_PERL_DECL_ARGS_2
|
||||
#define SWIG_AS_CALL_ARGS SWIG_PERL_CALL_ARGS_2
|
||||
|
||||
#define SWIG_FROM_DECL_ARGS SWIG_PERL_DECL_ARGS_1
|
||||
#define SWIG_FROM_CALL_ARGS SWIG_PERL_CALL_ARGS_1
|
||||
|
|
|
|||
|
|
@ -11,11 +11,8 @@
|
|||
macros as needed.
|
||||
*/
|
||||
|
||||
#define SWIG_ASPTR_DECL_ARGS SWIG_TCL_DECL_ARGS_2
|
||||
#define SWIG_ASPTR_CALL_ARGS SWIG_TCL_CALL_ARGS_2
|
||||
|
||||
#define SWIG_ASVAL_DECL_ARGS SWIG_TCL_DECL_ARGS_2
|
||||
#define SWIG_ASVAL_CALL_ARGS SWIG_TCL_CALL_ARGS_2
|
||||
#define SWIG_AS_DECL_ARGS SWIG_TCL_DECL_ARGS_2
|
||||
#define SWIG_AS_CALL_ARGS SWIG_TCL_CALL_ARGS_2
|
||||
|
||||
|
||||
/* Include fundamental fragemt definitions */
|
||||
|
|
|
|||
|
|
@ -280,24 +280,16 @@
|
|||
* Define the basic macros to 'normalize' the type fragments
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
#ifndef SWIG_ASVAL_DECL_ARGS
|
||||
#define SWIG_ASVAL_DECL_ARGS
|
||||
#endif
|
||||
|
||||
#ifndef SWIG_ASPTR_DECL_ARGS
|
||||
#define SWIG_ASPTR_DECL_ARGS
|
||||
#ifndef SWIG_AS_DECL_ARGS
|
||||
#define SWIG_AS_DECL_ARGS
|
||||
#endif
|
||||
|
||||
#ifndef SWIG_FROM_DECL_ARGS
|
||||
#define SWIG_FROM_DECL_ARGS
|
||||
#endif
|
||||
|
||||
#ifndef SWIG_ASVAL_CALL_ARGS
|
||||
#define SWIG_ASVAL_CALL_ARGS
|
||||
#endif
|
||||
|
||||
#ifndef SWIG_ASPTR_CALL_ARGS
|
||||
#define SWIG_ASPTR_CALL_ARGS
|
||||
#ifndef SWIG_AS_CALL_ARGS
|
||||
#define SWIG_AS_CALL_ARGS
|
||||
#endif
|
||||
|
||||
#ifndef SWIG_FROM_CALL_ARGS
|
||||
|
|
@ -311,12 +303,12 @@
|
|||
#define SWIG_AsVal_frag(Type...) %fragment_name(AsVal, Type)
|
||||
#define SWIG_From_frag(Type...) %fragment_name(From, Type)
|
||||
|
||||
#define SWIG_AsVal_dec(Type...) %symbol_name(AsVal, Type) SWIG_ASVAL_DECL_ARGS
|
||||
#define SWIG_AsPtr_dec(Type...) %symbol_name(AsPtr, Type) SWIG_ASPTR_DECL_ARGS
|
||||
#define SWIG_AsVal_dec(Type...) %symbol_name(AsVal, Type) SWIG_AS_DECL_ARGS
|
||||
#define SWIG_AsPtr_dec(Type...) %symbol_name(AsPtr, Type) SWIG_AS_DECL_ARGS
|
||||
#define SWIG_From_dec(Type...) %symbol_name(From, Type) SWIG_FROM_DECL_ARGS
|
||||
|
||||
#define SWIG_AsVal(Type...) %symbol_name(AsVal, Type) SWIG_ASVAL_CALL_ARGS
|
||||
#define SWIG_AsPtr(Type...) %symbol_name(AsPtr, Type) SWIG_ASPTR_CALL_ARGS
|
||||
#define SWIG_AsVal(Type...) %symbol_name(AsVal, Type) SWIG_AS_CALL_ARGS
|
||||
#define SWIG_AsPtr(Type...) %symbol_name(AsPtr, Type) SWIG_AS_CALL_ARGS
|
||||
#define SWIG_From(Type...) %symbol_name(From, Type) SWIG_FROM_CALL_ARGS
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue