X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLexical-Types.git;a=blobdiff_plain;f=xsh%2Futil.h;fp=xsh%2Futil.h;h=599dbf4407e4cd63fca47549e44e6dc1e04d21ee;hp=dcc142c79066a5d532afbe31691d5cfc41d82279;hb=0d7058280090c294f5fe0eb9ac5251816dd31d30;hpb=403b8b4a1f84772b9f78b25ada4c4e5889a47334 diff --git a/xsh/util.h b/xsh/util.h index dcc142c..599dbf4 100644 --- a/xsh/util.h +++ b/xsh/util.h @@ -23,13 +23,6 @@ # define XSH_ASSERT(C) #endif -#undef VOID2 -#ifdef __cplusplus -# define VOID2(T, P) static_cast(P) -#else -# define VOID2(T, P) (P) -#endif - #ifndef STMT_START # define STMT_START do #endif @@ -61,19 +54,6 @@ #define xsh_dup(S, P) sv_dup((S), (P)) #define xsh_dup_inc(S, P) SvREFCNT_inc(xsh_dup((S), (P))) -/* Context for PerlMemShared_*() functions */ -#ifdef PERL_IMPLICIT_SYS -# define pPMS pTHX -# define pPMS_ pTHX_ -# define aPMS aTHX -# define aPMS_ aTHX_ -#else -# define pPMS void -# define pPMS_ -# define aPMS -# define aPMS_ -#endif - #ifdef USE_ITHREADS # define XSH_LOCK(M) MUTEX_LOCK(M) # define XSH_UNLOCK(M) MUTEX_UNLOCK(M)