Moved the std::pair< iterator, bool > typemap to std_set.i
where it belongs. This solves the problem with swig conflicts (at least for now). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10071 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
169a953991
commit
f2f29c9ba5
2 changed files with 5 additions and 24 deletions
|
|
@ -160,12 +160,13 @@
|
|||
|
||||
%swig_sequence_methods_common(%arg(set));
|
||||
|
||||
%fragment("RubyPairBoolOutputIterator","header",fragment=SWIG_From_frag(bool),fragment="RubySequence_Cont") {}
|
||||
|
||||
// Redefine std::set iterator/reverse_iterator typemap
|
||||
%typemap(out,noblock=1)
|
||||
iterator, reverse_iterator {
|
||||
%typemap(out,noblock=1) iterator, reverse_iterator {
|
||||
$result = SWIG_NewPointerObj(swig::make_set_nonconst_iterator(%static_cast($1,const $type &),
|
||||
self),
|
||||
swig::Iterator::descriptor(),SWIG_POINTER_OWN);
|
||||
swig::Iterator::descriptor(),SWIG_POINTER_OWN);
|
||||
}
|
||||
|
||||
// Redefine std::set std::pair<iterator, bool> typemap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue