Documentation patches from Mark Goodman

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-04-14 21:38:18 +00:00
commit ca7834309c
7 changed files with 27 additions and 25 deletions

View file

@ -425,13 +425,13 @@ interface is as follows:
<div class="code">
<pre>
struct name {
name(int nelements); // Create an array
~name(); // Delete array
type getitem(int index); // Return item
void setitem(index, type value); // Set item
type *cast(); // Cast to original type
static name *frompointer(type *); // Create class wrapper from
// existing pointer
name(int nelements); // Create an array
~name(); // Delete array
type getitem(int index); // Return item
void setitem(int index, type value); // Set item
type *cast(); // Cast to original type
static name *frompointer(type *); // Create class wrapper from
// existing pointer
};
</pre>
</div>
@ -731,7 +731,7 @@ Generates the following function for extracting C data for a given type.
<div class="code">
<pre>
char *cdata_<em>name</em>(int nitems)
char *cdata_<em>name</em>(type* ptr, int nitems)
</pre>
</div>