Fix segfault in exception class creation
We can't safely lookup the Exception class entry at MINIT time, but we can just use zend_ce_exception instead, which will be a bit faster too.
This commit is contained in:
parent
592f230295
commit
6e6d720d88
2 changed files with 41 additions and 49 deletions
|
|
@ -7,5 +7,6 @@
|
|||
|
||||
%init %{
|
||||
SWIG_php_minit {
|
||||
zend_class_entry SWIGUNUSED internal_ce;
|
||||
SWIG_InitializeModule((void*)&module_number);
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue