Remove confusing extra parameter from doc example
The initial prototype shown in these examples has a `len` parameter but that the rest of the example is as if that parameter isn't there so remove it from the initial prototype. Fixes https://sourceforge.net/p/swig/bugs/1289/
This commit is contained in:
parent
70d530adfc
commit
2a9431ebfb
3 changed files with 3 additions and 3 deletions
|
|
@ -1493,7 +1493,7 @@ as well as a special error code:
|
|||
<div class="code">
|
||||
<pre>
|
||||
/* send message, return number of bytes sent, along with success code */
|
||||
int send_message(char *text, int len, int *success);
|
||||
int send_message(char *text, int *success);
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -4175,7 +4175,7 @@ as well as a special error code:
|
|||
<div class="code">
|
||||
<pre>
|
||||
/* send message, return number of bytes sent, along with success code */
|
||||
int send_message(char *text, int len, int *success);
|
||||
int send_message(char *text, int *success);
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -2243,7 +2243,7 @@ as well as a special error code:
|
|||
<div class="code">
|
||||
<pre>
|
||||
/* send message, return number of bytes sent, along with success code */
|
||||
int send_message(char *text, int len, int *success);
|
||||
int send_message(char *text, int *success);
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue