Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
733d338862
commit
3c65cea431
112 changed files with 3262 additions and 3375 deletions
|
|
@ -160,11 +160,11 @@ namespace swig {
|
|||
*/
|
||||
|
||||
%define %typemap_traits(Code,Type...)
|
||||
%typemap_asvalfrom(SWIG_arg(Code),
|
||||
SWIG_arg(swig::asval<Type >),
|
||||
SWIG_arg(swig::from),
|
||||
SWIG_arg(SWIG_Traits_frag(Type)),
|
||||
SWIG_arg(SWIG_Traits_frag(Type)),
|
||||
%typemaps_asvalfrom(%arg(Code),
|
||||
%arg(swig::asval<Type >),
|
||||
%arg(swig::from),
|
||||
%arg(SWIG_Traits_frag(Type)),
|
||||
%arg(SWIG_Traits_frag(Type)),
|
||||
Type);
|
||||
%enddef
|
||||
|
||||
|
|
@ -174,11 +174,11 @@ namespace swig {
|
|||
*/
|
||||
|
||||
%define %typemap_traits_ptr(Code,Type...)
|
||||
%typemap_asptrfrom(SWIG_arg(Code),
|
||||
SWIG_arg(swig::asptr),
|
||||
SWIG_arg(swig::from),
|
||||
SWIG_arg(SWIG_Traits_frag(Type)),
|
||||
SWIG_arg(SWIG_Traits_frag(Type)),
|
||||
%typemaps_asptrfrom(%arg(Code),
|
||||
%arg(swig::asptr),
|
||||
%arg(swig::from),
|
||||
%arg(SWIG_Traits_frag(Type)),
|
||||
%arg(SWIG_Traits_frag(Type)),
|
||||
Type);
|
||||
%enddef
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
%define %std_sequence_methods_common(sequence)
|
||||
|
||||
%std_container_methods(SWIG_arg(sequence));
|
||||
%std_container_methods(%arg(sequence));
|
||||
|
||||
sequence(size_type size);
|
||||
void pop_back();
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
%define %std_sequence_methods(sequence)
|
||||
|
||||
%std_sequence_methods_common(SWIG_arg(sequence));
|
||||
%std_sequence_methods_common(%arg(sequence));
|
||||
|
||||
sequence(size_type size, const value_type& value);
|
||||
void push_back(const value_type& x);
|
||||
|
|
@ -76,7 +76,7 @@
|
|||
|
||||
%define %std_sequence_methods_val(sequence...)
|
||||
|
||||
%std_sequence_methods_common(SWIG_arg(sequence));
|
||||
%std_sequence_methods_common(%arg(sequence));
|
||||
|
||||
sequence(size_type size, value_type value);
|
||||
void push_back(value_type x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue