diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-26 13:39:14 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-26 13:39:14 +0000 |
commit | 873ef191be9d12eed8116e23926efe319c6ed859 (patch) | |
tree | 88d2e70ffc2b1d49d8556a53ae1709fb84e6e6b6 /perl.h | |
parent | cedea190b107621491e9374674b8382221691335 (diff) | |
download | perl-873ef191be9d12eed8116e23926efe319c6ed859.tar.gz |
[asperl] tweaks to make it build with the Borland compiler. Won't run
testsuite because @INC intuition from location of perlcore.dll seems
to be broken. Also, system() and qx// seem broken as well.
p4raw-id: //depot/asperl@1033
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -110,6 +110,7 @@ class CPerlObj; #define _CPERLarg ,CPERLarg #define THIS this #define _THIS ,this +#define THIS_ this, #define CALLRUNOPS (this->*runops) #else /* !PERL_OBJECT */ @@ -1076,7 +1077,12 @@ typedef union any ANY; #include "handy.h" +#ifdef PERL_OBJECT +typedef I32 (*filter_t) _((CPerlObj*, int, SV *, int)); +#else typedef I32 (*filter_t) _((int, SV *, int)); +#endif + #define FILTER_READ(idx, sv, len) filter_read(idx, sv, len) #define FILTER_DATA(idx) (AvARRAY(rsfp_filters)[idx]) #define FILTER_ISREADER(idx) (idx >= AvFILLp(rsfp_filters)) @@ -1838,7 +1844,11 @@ public: /* Interpreter exitlist entry */ typedef struct exitlistentry { +#ifdef PERL_OBJECT + void (*fn) _((CPerlObj*, void*)); +#else void (*fn) _((void*)); +#endif void *ptr; } PerlExitListEntry; |