diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-08-20 22:14:58 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-08-31 19:40:13 +0100 |
commit | c10a84c77597695e3bdba37f35d251cb826d1d72 (patch) | |
tree | 269c5358ed15d7322d1185220036089a6cf0909d /Lib/php | |
parent | ec965840ce3fa59a9f09e9d09fefacaa617b54d5 (diff) | |
download | swig-c10a84c77597695e3bdba37f35d251cb826d1d72.tar.gz |
Cosmetic stray semi-colon removal after %typemap using quotes
Diffstat (limited to 'Lib/php')
-rw-r--r-- | Lib/php/const.i | 4 | ||||
-rw-r--r-- | Lib/php/php.swg | 2 | ||||
-rw-r--r-- | Lib/php/std_string.i | 2 | ||||
-rw-r--r-- | Lib/php/typemaps.i | 12 |
4 files changed, 10 insertions, 10 deletions
diff --git a/Lib/php/const.i b/Lib/php/const.i index 33060dc04..a74af0d78 100644 --- a/Lib/php/const.i +++ b/Lib/php/const.i @@ -54,7 +54,7 @@ } %} -%typemap(classconsttab) SWIGTYPE (CLASS::*) ""; +%typemap(classconsttab) SWIGTYPE (CLASS::*) "" %typemap(consttab) int, unsigned int, @@ -100,4 +100,4 @@ } /* Handled as a global variable. */ -%typemap(consttab) SWIGTYPE (CLASS::*) ""; +%typemap(consttab) SWIGTYPE (CLASS::*) "" diff --git a/Lib/php/php.swg b/Lib/php/php.swg index c2442d24b..26944a1af 100644 --- a/Lib/php/php.swg +++ b/Lib/php/php.swg @@ -457,7 +457,7 @@ SWIG_SetPointerZval($input, SWIG_as_voidptr(new $1_ltype(SWIG_STD_MOVE($1))), $&1_descriptor, 1); %} -%typemap(out, phptype="void") void ""; +%typemap(out, phptype="void") void "" %typemap(out, phptype="string") char [ANY] { diff --git a/Lib/php/std_string.i b/Lib/php/std_string.i index 8882c0abe..b2039786c 100644 --- a/Lib/php/std_string.i +++ b/Lib/php/std_string.i @@ -86,5 +86,5 @@ namespace std { /* SWIG will apply the non-const typemap above to const string& without * this more specific typemap. */ - %typemap(argout) const string & ""; + %typemap(argout) const string & "" } diff --git a/Lib/php/typemaps.i b/Lib/php/typemaps.i index 2f7819097..718469edc 100644 --- a/Lib/php/typemaps.i +++ b/Lib/php/typemaps.i @@ -31,8 +31,8 @@ temp = (Z_TYPE($input) == IS_TRUE); $1 = &temp; %} -%typemap(argout) TYPE *INPUT, TYPE &INPUT ""; -%typemap(in,numinputs=0) TYPE *OUTPUT(TYPE temp), TYPE &OUTPUT(TYPE temp) "$1 = &temp;"; +%typemap(argout) TYPE *INPUT, TYPE &INPUT "" +%typemap(in,numinputs=0) TYPE *OUTPUT(TYPE temp), TYPE &OUTPUT(TYPE temp) "$1 = &temp;" %typemap(argout,fragment="t_output_helper") TYPE *OUTPUT, TYPE &OUTPUT { zval o; @@ -57,8 +57,8 @@ temp = (TYPE) zval_get_double(&$input); $1 = &temp; %} -%typemap(argout) TYPE *INPUT, TYPE &INPUT ""; -%typemap(in,numinputs=0) TYPE *OUTPUT(TYPE temp), TYPE &OUTPUT(TYPE temp) "$1 = &temp;"; +%typemap(argout) TYPE *INPUT, TYPE &INPUT "" +%typemap(in,numinputs=0) TYPE *OUTPUT(TYPE temp), TYPE &OUTPUT(TYPE temp) "$1 = &temp;" %typemap(argout,fragment="t_output_helper") TYPE *OUTPUT, TYPE &OUTPUT { zval o; @@ -82,8 +82,8 @@ temp = (TYPE) zval_get_long(&$input); $1 = &temp; %} -%typemap(argout) TYPE *INPUT, TYPE &INPUT ""; -%typemap(in,numinputs=0) TYPE *OUTPUT(TYPE temp), TYPE &OUTPUT(TYPE temp) "$1 = &temp;"; +%typemap(argout) TYPE *INPUT, TYPE &INPUT "" +%typemap(in,numinputs=0) TYPE *OUTPUT(TYPE temp), TYPE &OUTPUT(TYPE temp) "$1 = &temp;" %typemap(argout,fragment="t_output_helper") TYPE *OUTPUT, TYPE &OUTPUT { zval o; |