ok, outside of the init block then
This commit is contained in:
parent
838bf54aa0
commit
bb58af5738
1 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
%module hammer;
|
%module hammer;
|
||||||
|
#ifdef ZTS
|
||||||
|
void ***tsrm_ls;
|
||||||
|
#endif
|
||||||
%include "exception.i";
|
%include "exception.i";
|
||||||
%{
|
%{
|
||||||
#include "allocator.h"
|
#include "allocator.h"
|
||||||
|
|
@ -11,9 +14,6 @@
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%init %{
|
%init %{
|
||||||
#ifdef ZTS
|
|
||||||
void ***tsrm_ls;
|
|
||||||
#endif
|
|
||||||
h_tt_php = h_allocate_token_type("com.upstandinghackers.hammer.php");
|
h_tt_php = h_allocate_token_type("com.upstandinghackers.hammer.php");
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue