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 /deb.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 'deb.c')
-rw-r--r-- | deb.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -13,10 +13,11 @@ */ #include "EXTERN.h" +#define PERL_IN_DEB_C #include "perl.h" void -deb(const char *pat, ...) +Perl_deb(pTHX_ const char *pat, ...) { #ifdef DEBUGGING dTHR; @@ -44,7 +45,7 @@ deb(const char *pat, ...) } void -deb_growlevel(void) +Perl_deb_growlevel(pTHX) { #ifdef DEBUGGING PL_dlmax += 128; @@ -54,7 +55,7 @@ deb_growlevel(void) } I32 -debstackptrs(void) +Perl_debstackptrs(pTHX) { #ifdef DEBUGGING dTHR; @@ -70,7 +71,7 @@ debstackptrs(void) } I32 -debstack(void) +Perl_debstack(pTHX) { #ifdef DEBUGGING dTHR; |