[php] Fix function constants for PHP 7.3
The code we were generating no longer compiled.
This commit is contained in:
parent
786efd0ae0
commit
9f84ca8a00
2 changed files with 8 additions and 2 deletions
|
|
@ -60,8 +60,7 @@
|
|||
SWIG_SetPointerZval(&c.value, (void*)$value, $1_descriptor, 0);
|
||||
zval_copy_ctor(&c.value);
|
||||
c.name = zend_string_init("$symname", sizeof("$symname") - 1, 0);
|
||||
c.flags = CONST_CS;
|
||||
c.module_number = module_number;
|
||||
SWIG_ZEND_CONSTANT_SET_FLAGS(&c, CONST_CS, module_number);
|
||||
zend_register_constant(&c);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue