summaryrefslogtreecommitdiff
path: root/perl.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 /perl.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 'perl.h')
-rw-r--r--perl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 1ff9d32eda..36b19394bc 100644
--- a/perl.h
+++ b/perl.h
@@ -2070,6 +2070,7 @@ typedef pthread_key_t perl_key;
/* flags in PL_exit_flags for nature of exit() */
#define PERL_EXIT_EXPECTED 0x01
+#define PERL_EXIT_DESTRUCT_END 0x02 /* Run END in perl_destruct */
#ifndef MEMBER_TO_FPTR
# define MEMBER_TO_FPTR(name) name