From: William F. <wsf...@us...> - 2005-09-29 20:16:39
|
Update of /cvsroot/swig/SWIG/Doc/Manual In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7190/Doc/Manual Modified Files: Java.html Log Message: default array wrapping clarification Index: Java.html =================================================================== RCS file: /cvsroot/swig/SWIG/Doc/Manual/Java.html,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** Java.html 23 Sep 2005 21:16:26 -0000 1.45 --- Java.html 29 Sep 2005 20:16:28 -0000 1.46 *************** *** 1363,1367 **** no assumptions about bounds checking---if you pass a bad pointer, you may get a segmentation fault or access violation. ! Array access can be changed from this default to use Java arrays and this is covered later. </p> --- 1363,1368 ---- no assumptions about bounds checking---if you pass a bad pointer, you may get a segmentation fault or access violation. ! The default wrapping makes it hard to set or get just one element of the array and so array access from Java is somewhat limited. ! This can be changed easily though by using the approach outlined later in the <a href="#c_arrays">Wrapping C arrays with Java arrays</a> section. </p> |