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:
Olly Betts 2022-03-09 15:03:15 +13:00
commit 2a9431ebfb
3 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>