Correct macro name in Lib/ruby/std_pair.i; was "specialize_std_map_on_both",
should be "specialize_std_pair_on_both". git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
39fcc64ab9
commit
b5b115f451
1 changed files with 2 additions and 2 deletions
|
|
@ -373,8 +373,8 @@ namespace std {
|
||||||
};
|
};
|
||||||
%enddef
|
%enddef
|
||||||
|
|
||||||
%define specialize_std_map_on_both(T,CHECK_T,CONVERT_T_FROM,CONVERT_T_TO,
|
%define specialize_std_pair_on_both(T,CHECK_T,CONVERT_T_FROM,CONVERT_T_TO,
|
||||||
U,CHECK_U,CONVERT_U_FROM,CONVERT_U_TO)
|
U,CHECK_U,CONVERT_U_FROM,CONVERT_U_TO)
|
||||||
template<> struct pair<T,U> {
|
template<> struct pair<T,U> {
|
||||||
%typemap(in) pair<T,U> (std::pair<T,U>* p) {
|
%typemap(in) pair<T,U> (std::pair<T,U>* p) {
|
||||||
if (rb_obj_is_kind_of($input,rb_cArray)) {
|
if (rb_obj_is_kind_of($input,rb_cArray)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue