#ifndef __ObjXSub_h__
#define __ObjXSub_h__
-
/* Varibles */
#undef Argv
#define Argv pPerl->Perl_Argv
#define argvgv pPerl->Perl_argvgv
#undef argvoutgv
#define argvoutgv pPerl->Perl_argvoutgv
+#undef av_fetch_sv
+#define av_fetch_sv pPerl->av_fetch_sv
#undef basetime
#define basetime pPerl->Perl_basetime
#undef beginav
#define eval_start pPerl->Perl_eval_start
#undef evalseq
#define evalseq pPerl->Perl_evalseq
+#undef exitlist
+#define exitlist pPerl->exitlist
+#undef exitlistlen
+#define exitlistlen pPerl->exitlistlen
#undef expect
#define expect pPerl->Perl_expect
#undef extralen
#define hexdigit pPerl->Perl_hexdigit
#undef hints
#define hints pPerl->Perl_hints
+#undef hv_fetch_ent_mh
+#define hv_fetch_ent_mh pPerl->hv_fetch_ent_mh
+#undef hv_fetch_sv
+#define hv_fetch_sv pPerl->hv_fetch_sv
#undef in_clean_all
#define in_clean_all pPerl->Perl_in_clean_all
#undef in_clean_objs
#define minus_p pPerl->Perl_minus_p
#undef modcount
#define modcount pPerl->Perl_modcount
+#undef modglobal
+#define modglobal pPerl->Perl_modglobal
#undef multi_close
#define multi_close pPerl->Perl_multi_close
#undef multi_end
#define sv_undef pPerl->Perl_sv_undef
#undef sv_yes
#define sv_yes pPerl->Perl_sv_yes
+#undef svref_mutex
+#define svref_mutex pPerl->svref_mutex
#undef sys_intern
#define sys_intern pPerl->Perl_sys_intern
#undef tainted
perl_atexit(void (*fn) (void *), void *ptr)
#endif
{
- Renew(exitlist, exitlistlen+1, PerlExitListEntry);
+ if(exitlist)
+ Renew(exitlist, exitlistlen+1, PerlExitListEntry);
+ else
+ New(999, exitlist, 1, PerlExitListEntry);
exitlist[exitlistlen].fn = fn;
exitlist[exitlistlen].ptr = ptr;
++exitlistlen;
$(MINIPERL) GenCAPI.pl $(COREDIR)
PerlCAPI$(o) : PerlCAPI.cpp
- $(CC) $(CFLAGS_O) -MT -UPERLDLL -DWIN95FIX -c \
+ $(CC) $(CFLAGS_O) $(RUNTIME) -UPERLDLL -c \
$(OBJOUT_FLAG)PerlCAPI$(o) PerlCAPI.cpp
$(CAPILIB) : PerlCAPI.cpp PerlCAPI$(o)
.ELIF "$(CCTYPE)" == "GCC"
$(CC) $(CFLAGS_O) -c $(OBJOUT_FLAG)PerlCAPI$(o) PerlCAPI.cpp
.ELSE
- $(CC) $(CFLAGS_O) -MT -UPERLDLL -DWIN95FIX -c \
+ $(CC) $(CFLAGS_O) $(RUNTIME) -UPERLDLL -c \
$(OBJOUT_FLAG)PerlCAPI$(o) PerlCAPI.cpp
.ENDIF