Fix -Wstrict-prototypes warning in generated PHP wrappers
This commit is contained in:
parent
ebbf2e6077
commit
0cdbbf326b
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ SWIG_ConvertPtr(zval *z, void **ptr, swig_type_info *ty, int flags) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char const_name[] = "swig_runtime_data_type_pointer";
|
static const char const_name[] = "swig_runtime_data_type_pointer";
|
||||||
static swig_module_info *SWIG_Php_GetModule() {
|
static swig_module_info *SWIG_Php_GetModule(void) {
|
||||||
zval *pointer = zend_get_constant_str(const_name, sizeof(const_name) - 1);
|
zval *pointer = zend_get_constant_str(const_name, sizeof(const_name) - 1);
|
||||||
if (pointer) {
|
if (pointer) {
|
||||||
if (Z_TYPE_P(pointer) == IS_LONG) {
|
if (Z_TYPE_P(pointer) == IS_LONG) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue