diff options
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -1824,6 +1824,16 @@ typedef enum { #define PERLVARI(var,type,init) type var; #define PERLVARIC(var,type,init) type var; +/* Interpreter exitlist entry */ +typedef struct exitlistentry { +#ifdef PERL_OBJECT + void (*fn) _((CPerlObj*, void*)); +#else + void (*fn) _((void*)); +#endif + void *ptr; +} PerlExitListEntry; + #ifdef PERL_OBJECT extern "C" CPerlObj* perl_alloc _((IPerlMem*, IPerlEnv*, IPerlStdIO*, IPerlLIO*, IPerlDir*, IPerlSock*, IPerlProc*)); @@ -1842,16 +1852,6 @@ public: void* operator new(size_t nSize, IPerlMem *pvtbl); #endif /* PERL_OBJECT */ -/* Interpreter exitlist entry */ -typedef struct exitlistentry { -#ifdef PERL_OBJECT - void (*fn) _((CPerlObj*, void*)); -#else - void (*fn) _((void*)); -#endif - void *ptr; -} PerlExitListEntry; - #ifdef PERL_GLOBAL_STRUCT struct perl_vars { #include "perlvars.h" |