From 2a9431ebfb81d2ebcb1ce489fdf43d0f751df72a Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Wed, 9 Mar 2022 15:03:15 +1300 Subject: [PATCH] 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/ --- Doc/Manual/Perl5.html | 2 +- Doc/Manual/Python.html | 2 +- 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:
 /* 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);
 
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:
 /* 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);
 
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:
 /* 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);