ok, outside of the init block then

This commit is contained in:
Meredith L. Patterson 2013-12-21 16:08:28 +01:00
parent 838bf54aa0
commit bb58af5738

View file

@ -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");
%} %}