diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-06-07 05:18:34 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-06-07 05:18:34 +0000 |
commit | 864dbfa3ca8032ef66f7aa86961933b19b962357 (patch) | |
tree | 4186157b2fc82346ec83e789b065a908a56c1641 /run.c | |
parent | fdf134946da249a71c49962435817212b8fa195a (diff) | |
download | perl-864dbfa3ca8032ef66f7aa86961933b19b962357.tar.gz |
initial stub implementation of implicit thread/this
pointer argument; builds/tests on Solaris, win32
hasn't been fixed up yet; proto.h, global.sym and
static function decls are now generated from a common
database in proto.pl; some inconsistently named
perl_foo() things are now Perl_foo(), compatibility
#defines provided; perl_foo() (lowercase 'p') reserved
for functions that take an explicit context argument;
next step: generate #define foo(a,b) Perl_foo(aTHX_ a,b)
p4raw-id: //depot/perl@3522
Diffstat (limited to 'run.c')
-rw-r--r-- | run.c | 20 |
1 files changed, 7 insertions, 13 deletions
@@ -8,6 +8,7 @@ */ #include "EXTERN.h" +#define PERL_IN_RUN_C #include "perl.h" /* @@ -23,7 +24,7 @@ #endif int -runops_standard(void) +Perl_runops_standard(pTHX) { dTHR; @@ -33,15 +34,8 @@ runops_standard(void) return 0; } -#ifdef DEBUGGING -#ifndef PERL_OBJECT -static void debprof (OP*o); -#endif - -#endif /* DEBUGGING */ - int -runops_debug(void) +Perl_runops_debug(pTHX) { #ifdef DEBUGGING dTHR; @@ -69,7 +63,7 @@ runops_debug(void) } I32 -debop(OP *o) +Perl_debop(pTHX_ OP *o) { #ifdef DEBUGGING SV *sv; @@ -99,7 +93,7 @@ debop(OP *o) } void -watch(char **addr) +Perl_watch(pTHX_ char **addr) { #ifdef DEBUGGING dTHR; @@ -111,7 +105,7 @@ watch(char **addr) } STATIC void -debprof(OP *o) +debprof(pTHX_ OP *o) { #ifdef DEBUGGING if (!PL_profiledata) @@ -121,7 +115,7 @@ debprof(OP *o) } void -debprofdump(void) +Perl_debprofdump(pTHX) { #ifdef DEBUGGING unsigned i; |