summaryrefslogtreecommitdiff
path: root/Lib/pike/pike.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pike/pike.swg')
-rw-r--r--Lib/pike/pike.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pike/pike.swg b/Lib/pike/pike.swg
index 0cfec52b0..130af1346 100644
--- a/Lib/pike/pike.swg
+++ b/Lib/pike/pike.swg
@@ -185,7 +185,7 @@ extern "C" {
* String & length
* ------------------------------------------------------------ */
-%typemap(in, pikedesc="tStr") (char *STRING, int LENGTH) {
+%typemap(in) (char *STRING, int LENGTH), (char *STRING, size_t LENGTH) {
if ($input.type != T_STRING)
Pike_error("Bad argument: Expected a string.\n");
$1 = ($1_ltype) STR0($input.u.string);