From: Gurusamy Sarathy Date: Sun, 14 Nov 1999 20:01:45 +0000 (+0000) Subject: tweak for win32 build X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=62fde6427850206f9043b1f1a24485f145ebce72;p=p5sagit%2Fp5-mst-13.2.git tweak for win32 build p4raw-id: //depot/perl@4585 --- diff --git a/embed.h b/embed.h index 4ef18fd..eea4c76 100644 --- a/embed.h +++ b/embed.h @@ -831,6 +831,7 @@ #define simplify_sort S_simplify_sort #define is_handle_constructor S_is_handle_constructor #define gv_ename S_gv_ename +#define cv_dump S_cv_dump #define cv_clone2 S_cv_clone2 #define scalar_mod_type S_scalar_mod_type #define my_kid S_my_kid @@ -2199,6 +2200,7 @@ #define simplify_sort(a) S_simplify_sort(aTHX_ a) #define is_handle_constructor(a,b) S_is_handle_constructor(aTHX_ a,b) #define gv_ename(a) S_gv_ename(aTHX_ a) +#define cv_dump(a) S_cv_dump(aTHX_ a) #define cv_clone2(a,b) S_cv_clone2(aTHX_ a,b) #define scalar_mod_type(a,b) S_scalar_mod_type(aTHX_ a,b) #define my_kid(a,b) S_my_kid(aTHX_ a,b) @@ -4322,6 +4324,8 @@ #define is_handle_constructor S_is_handle_constructor #define S_gv_ename CPerlObj::S_gv_ename #define gv_ename S_gv_ename +#define S_cv_dump CPerlObj::S_cv_dump +#define cv_dump S_cv_dump #define S_cv_clone2 CPerlObj::S_cv_clone2 #define cv_clone2 S_cv_clone2 #define S_scalar_mod_type CPerlObj::S_scalar_mod_type diff --git a/embed.pl b/embed.pl index 084a221..d83e57f 100755 --- a/embed.pl +++ b/embed.pl @@ -1856,6 +1856,7 @@ s |OP* |new_logop |I32 type|I32 flags|OP **firstp|OP **otherp s |void |simplify_sort |OP *o s |bool |is_handle_constructor |OP *o|I32 argnum s |char* |gv_ename |GV *gv +s |void |cv_dump |CV *cv s |CV* |cv_clone2 |CV *proto|CV *outside s |bool |scalar_mod_type|OP *o|I32 type s |OP * |my_kid |OP *o|OP *attrs diff --git a/op.c b/op.c index 775b03a..73c9634 100644 --- a/op.c +++ b/op.c @@ -3944,10 +3944,10 @@ Perl_cv_undef(pTHX_ CV *cv) } } -#ifdef DEBUGGING STATIC void S_cv_dump(pTHX_ CV *cv) { +#ifdef DEBUGGING CV *outside = CvOUTSIDE(cv); AV* padlist = CvPADLIST(cv); AV* pad_name; @@ -3988,8 +3988,8 @@ S_cv_dump(pTHX_ CV *cv) (IV)I_32(SvNVX(pname[ix])), SvIVX(pname[ix])); } -} #endif /* DEBUGGING */ +} STATIC CV * S_cv_clone2(pTHX_ CV *proto, CV *outside) diff --git a/proto.h b/proto.h index 9a4ebfe..a4efab9 100644 --- a/proto.h +++ b/proto.h @@ -809,6 +809,7 @@ STATIC OP* S_new_logop(pTHX_ I32 type, I32 flags, OP **firstp, OP **otherp); STATIC void S_simplify_sort(pTHX_ OP *o); STATIC bool S_is_handle_constructor(pTHX_ OP *o, I32 argnum); STATIC char* S_gv_ename(pTHX_ GV *gv); +STATIC void S_cv_dump(pTHX_ CV *cv); STATIC CV* S_cv_clone2(pTHX_ CV *proto, CV *outside); STATIC bool S_scalar_mod_type(pTHX_ OP *o, I32 type); STATIC OP * S_my_kid(pTHX_ OP *o, OP *attrs);