summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-11 05:43:30 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-11 05:43:30 +0000
commit02506efeee07f72c4573c458102aba9511f70372 (patch)
tree5f2c9f32bccfe820095d364be2e70c5b091224aa /intrpvar.h
parent7135f00b3e4ea2f1ab51cd8993790dca806e627b (diff)
downloadperl-02506efeee07f72c4573c458102aba9511f70372.tar.gz
Add reminders to intrpvar.h about perl_clone(), as suggested by Stas.
p4raw-id: //depot/perl@18906
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/intrpvar.h b/intrpvar.h
index fe54f7770e..c0208982f6 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -8,6 +8,8 @@
* XSUB.h provides wrapper functions via perlapi.h that make this
* irrelevant, but not all code may be expected to #include XSUB.h. */
+/* Don't forget to add your variable also to perl_clone()! */
+
/* The 'I' prefix is only needed for vars that need appropriate #defines
* generated when built with or without MULTIPLICITY. It is also used
* to generate the appropriate export list for win32.
@@ -500,6 +502,8 @@ PERLVAR(Iunicode, U32) /* Unicode features: $ENV{PERL_UNICODE} or -C */
PERLVAR(Isignals, U32) /* Using which pre-5.8 signals */
+/* Don't forget to add your variable also to perl_clone()! */
+
/* New variables must be added to the very end, before this comment,
* for binary compatibility (the offsets of the old members must not change).
* XSUB.h provides wrapper functions via perlapi.h that make this