typo fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7ef2b73a6d
commit
25f6cebe46
1 changed files with 3 additions and 3 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
* This file contains a two approaches to marshaling arrays. The first uses
|
* This file contains a two approaches to marshaling arrays. The first uses
|
||||||
* default p/invoke marshaling and the second uses pinning of the arrays.
|
* default p/invoke marshaling and the second uses pinning of the arrays.
|
||||||
*
|
*
|
||||||
* Default marshalling approach
|
* Default marshaling approach
|
||||||
* ----------------------------
|
* ----------------------------
|
||||||
* Array typemaps using default p/invoke marshaling. The data is copied to a separately
|
* Array typemaps using default p/invoke marshaling. The data is copied to a separately
|
||||||
* allocated buffer when passing over the managed-native boundary.
|
* allocated buffer when passing over the managed-native boundary.
|
||||||
|
|
@ -32,13 +32,13 @@
|
||||||
* ----------------
|
* ----------------
|
||||||
* Array typemaps using pinning. These typemaps pin the managed array given
|
* Array typemaps using pinning. These typemaps pin the managed array given
|
||||||
* as parameter and pass a pointer to it to the c/c++ side. This is very
|
* as parameter and pass a pointer to it to the c/c++ side. This is very
|
||||||
* efficient as no copying is done (unlike in the default array marshalling),
|
* efficient as no copying is done (unlike in the default array marshaling),
|
||||||
* but it makes garbage collection more difficult. When considering using
|
* but it makes garbage collection more difficult. When considering using
|
||||||
* these typemaps, think carefully whether you have callbacks that may cause
|
* these typemaps, think carefully whether you have callbacks that may cause
|
||||||
* the control to re-enter the managed side from within the call (and produce
|
* the control to re-enter the managed side from within the call (and produce
|
||||||
* garbage for the gc) or whether other threads may produce enough garbage to
|
* garbage for the gc) or whether other threads may produce enough garbage to
|
||||||
* trigger gc while the call is being executed. In those cases it may be
|
* trigger gc while the call is being executed. In those cases it may be
|
||||||
* wiser to use.
|
* wiser to use the default marshaling typemaps.
|
||||||
*
|
*
|
||||||
* Please note that when using fixed arrays, you have to mark your corresponding
|
* Please note that when using fixed arrays, you have to mark your corresponding
|
||||||
* module class method unsafe using
|
* module class method unsafe using
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue