diff options
author | Olly Betts <olly@survex.com> | 2022-03-09 15:03:15 +1300 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2022-03-09 15:05:44 +1300 |
commit | 2a9431ebfb81d2ebcb1ce489fdf43d0f751df72a (patch) | |
tree | 5c588dde10be72997a6e46424e414cc65a5c38c0 | |
parent | 70d530adfc4f4e0697179f6eb0b8a147a73d5889 (diff) | |
download | swig-2a9431ebfb81d2ebcb1ce489fdf43d0f751df72a.tar.gz |
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/
-rw-r--r-- | Doc/Manual/Perl5.html | 2 | ||||
-rw-r--r-- | Doc/Manual/Python.html | 2 | ||||
-rw-r--r-- | Doc/Manual/Tcl.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Manual/Perl5.html b/Doc/Manual/Perl5.html index d1b5d6746..c130cdef4 100644 --- a/Doc/Manual/Perl5.html +++ b/Doc/Manual/Perl5.html @@ -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> diff --git a/Doc/Manual/Python.html b/Doc/Manual/Python.html index e58c63715..937672c2a 100644 --- a/Doc/Manual/Python.html +++ b/Doc/Manual/Python.html @@ -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> diff --git a/Doc/Manual/Tcl.html b/Doc/Manual/Tcl.html index 50f736d93..bab5a8c1c 100644 --- a/Doc/Manual/Tcl.html +++ b/Doc/Manual/Tcl.html @@ -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> |