Example typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
412a8d9ca2
commit
e0232cc23b
1 changed files with 2 additions and 2 deletions
|
|
@ -4123,7 +4123,7 @@ allow the calling function to read the double * value after returning from the f
|
|||
jfieldID fid = jenv->GetFieldID(clazz, "swigCPtr", "J");
|
||||
jlong cPtr = jenv->GetLongField($input, fid);
|
||||
MyDouble *pMyDouble = NULL;
|
||||
*(MyDouble *)&pMyDouble = *(MyDouble *)&cPtr;
|
||||
*(MyDouble **)&pMyDouble = *(MyDouble **)&cPtr;
|
||||
$1 = &pMyDouble->value;
|
||||
}
|
||||
|
||||
|
|
@ -4790,4 +4790,4 @@ If your SWIG installation went well Unix users should be able to type <tt>make</
|
|||
For the benefit of Windows users, there are also Visual C++ project files in a couple of the <a href="Windows.html#examples">Windows Examples</a>.
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue