summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-08-17 04:18:11 +0000
committerArtur Bergman <sky@nanisky.com>2001-08-17 04:18:11 +0000
commit31d77e546f9eed28b984703264e32f2200f7aa8b (patch)
treebfa3d2b80ddab3b2f4e6292b4ee50a09666b5907 /proto.h
parent453946077c880e7dc58ef4fa7340353d6caec987 (diff)
downloadperl-31d77e546f9eed28b984703264e32f2200f7aa8b.tar.gz
Adds PERL_EXIT_DESTRUCT_END to PL_exit_flags which if set moves END block running to perl_destruct, changes prototype of perl_destruct to return exitstatus.
p4raw-id: //depot/perl@11702
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 06ce95a0f3..698b184edc 100644
--- a/proto.h
+++ b/proto.h
@@ -13,7 +13,7 @@ PERL_CALLCONV PerlInterpreter* perl_alloc_using(struct IPerlMem* m, struct IPerl
#endif
PERL_CALLCONV PerlInterpreter* perl_alloc(void);
PERL_CALLCONV void perl_construct(PerlInterpreter* interp);
-PERL_CALLCONV void perl_destruct(PerlInterpreter* interp);
+PERL_CALLCONV int perl_destruct(PerlInterpreter* interp);
PERL_CALLCONV void perl_free(PerlInterpreter* interp);
PERL_CALLCONV int perl_run(PerlInterpreter* interp);
PERL_CALLCONV int perl_parse(PerlInterpreter* interp, XSINIT_t xsinit, int argc, char** argv, char** env);