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:
William S Fulton 2004-01-19 21:33:26 +00:00
commit e0232cc23b

View file

@ -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>