Target each method specificly for setting modifiers
This commit is contained in:
parent
b0de71857e
commit
0094e3c90d
1 changed files with 11 additions and 2 deletions
|
|
@ -6,6 +6,17 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
%javamethodmodifiers std::list::begin "private";
|
||||||
|
%javamethodmodifiers std::list::insert "private";
|
||||||
|
%javamethodmodifiers std::list::set "private";
|
||||||
|
%javamethodmodifiers std::list::previous_index "private";
|
||||||
|
%javamethodmodifiers std::list::next_index "private";
|
||||||
|
%javamethodmodifiers std::list::previous "private";
|
||||||
|
%javamethodmodifiers std::list::next "private";
|
||||||
|
%javamethodmodifiers std::list::deref "private";
|
||||||
|
%javamethodmodifiers std::list::advance "private";
|
||||||
|
%javamethodmodifiers std::list::has_next "private";
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
template <typename T> class list {
|
template <typename T> class list {
|
||||||
public:
|
public:
|
||||||
|
|
@ -35,7 +46,6 @@ namespace std {
|
||||||
jint size () const;
|
jint size () const;
|
||||||
void sort();
|
void sort();
|
||||||
|
|
||||||
%javamethodmodifiers "private";
|
|
||||||
// Only for helping implement listIterator
|
// Only for helping implement listIterator
|
||||||
iterator begin();
|
iterator begin();
|
||||||
iterator insert(iterator pos, const value_type &v);
|
iterator insert(iterator pos, const value_type &v);
|
||||||
|
|
@ -73,7 +83,6 @@ namespace std {
|
||||||
return pos != $self->end();
|
return pos != $self->end();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%javamethodmodifiers "public";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue