Add caveat emptor for peek method in Java directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
863c25f9b8
commit
d1bc8b5b21
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ namespace Swig {
|
|||
weak_global_ = true;
|
||||
}
|
||||
|
||||
/* Only call peek if you know what you are doing wrt to weak/global references */
|
||||
jobject peek() {
|
||||
return jthis_;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue