|
From: William F. <wsf...@us...> - 2006-10-11 22:30:00
|
Update of /cvsroot/swig/SWIG/Doc/Manual In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv8802/Doc/Manual Modified Files: CSharp.html Java.html Log Message: gc terminology corrections Index: Java.html =================================================================== RCS file: /cvsroot/swig/SWIG/Doc/Manual/Java.html,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** Java.html 27 Sep 2006 17:25:03 -0000 1.65 --- Java.html 11 Oct 2006 22:29:56 -0000 1.66 *************** *** 2519,2523 **** <p> Some memory management issues are quite tricky to fix and may only be noticeable after using for a long time. ! One such issue is early garbage collection of an object created from Java and resultant usage from C++ code. The section on typemap examples cover two such scenarios, <a href="#java_memory_management_objects">Memory management for objects passed to the C++ layer</a> --- 2519,2523 ---- <p> Some memory management issues are quite tricky to fix and may only be noticeable after using for a long time. ! One such issue is premature garbage collection of an object created from Java and resultant usage from C++ code. The section on typemap examples cover two such scenarios, <a href="#java_memory_management_objects">Memory management for objects passed to the C++ layer</a> *************** *** 6325,6329 **** <p> ! This example shows how to prevent early garbage collection of objects when the underlying C++ class returns a pointer or reference to a member variable. </p> --- 6325,6329 ---- <p> ! This example shows how to prevent premature garbage collection of objects when the underlying C++ class returns a pointer or reference to a member variable. </p> *************** *** 6394,6398 **** %} ! // Add a Java reference to prevent early garbage collection and resulting use // of dangling C++ pointer. Intended for methods that return pointers or // references to a member variable. --- 6394,6398 ---- %} ! // Add a Java reference to prevent premature garbage collection and resulting use // of dangling C++ pointer. Intended for methods that return pointers or // references to a member variable. Index: CSharp.html =================================================================== RCS file: /cvsroot/swig/SWIG/Doc/Manual/CSharp.html,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** CSharp.html 27 Sep 2006 17:25:03 -0000 1.34 --- CSharp.html 11 Oct 2006 22:29:56 -0000 1.35 *************** *** 1311,1315 **** <p> ! This example shows how to prevent early garbage collection of objects when the underlying C++ class returns a pointer or reference to a member variable. The example is a direct equivalent to this <a href="Java.html#java_memory_management_objects">Java equivalent</a>. </p> --- 1311,1315 ---- <p> ! This example shows how to prevent premature garbage collection of objects when the underlying C++ class returns a pointer or reference to a member variable. The example is a direct equivalent to this <a href="Java.html#java_memory_management_objects">Java equivalent</a>. </p> *************** *** 1381,1385 **** %} ! // Add a C# reference to prevent early garbage collection and resulting use // of dangling C++ pointer. Intended for methods that return pointers or // references to a member variable. --- 1381,1385 ---- %} ! // Add a C# reference to prevent premature garbage collection and resulting use // of dangling C++ pointer. Intended for methods that return pointers or // references to a member variable. |