This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Superparanoia.
[perl5.git] / intrpvar.h
index db7c190..6a34ea4 100644 (file)
@@ -504,14 +504,37 @@ PERLVAR(Iunicode, U32)    /* Unicode features: $ENV{PERL_UNICODE} or -C */
 
 PERLVAR(Isignals, U32) /* Using which pre-5.8 signals */
 
-PERLVAR(IDBassertion,   SV *)
-
 PERLVAR(Istashcache,   HV *)           /* Cache to speed up S_method_common */
 
-/* Don't forget to add your variable also to perl_clone()! */
+PERLVAR(Ireentrant_retint, int)        /* Integer return value from reentrant functions */
+
+/* Hooks to shared SVs and locks. */
+PERLVARI(Isharehook,   share_proc_t,   MEMBER_TO_FPTR(Perl_sv_nosharing))
+PERLVARI(Ilockhook,    share_proc_t,   MEMBER_TO_FPTR(Perl_sv_nolocking))
+PERLVARI(Iunlockhook,  share_proc_t,   MEMBER_TO_FPTR(Perl_sv_nounlocking))
+PERLVARI(Ithreadhook,  thrhook_proc_t, MEMBER_TO_FPTR(Perl_nothreadhook))
+
+/* Force inclusion of both runops options */
+PERLVARI(Irunops_std,  runops_proc_t,  MEMBER_TO_FPTR(Perl_runops_standard))
+PERLVARI(Irunops_dbg,  runops_proc_t,  MEMBER_TO_FPTR(Perl_runops_debug))
+
+/* Stores the PPID */
+#ifdef THREADS_HAVE_PIDS
+PERLVARI(Ippid,                IV,             0)
+#endif
+
+PERLVARI(Ihash_seed, UV, 0)            /* Hash initializer */
+
+PERLVARI(Ihash_seed_set, bool, FALSE)          /* Hash initialized? */
+
+PERLVAR(IDBassertion,   SV *)
+
+PERLVARI(Icv_has_eval, I32, 0) /* PL_compcv includes an entereval or similar */
 
 /* New variables must be added to the very end, before this comment,
  * for binary compatibility (the offsets of the old members must not change).
+ * (Don't forget to add your variable also to perl_clone()!)
  * XSUB.h provides wrapper functions via perlapi.h that make this
- * irrelevant, but not all code may be expected to #include XSUB.h. */
+ * irrelevant, but not all code may be expected to #include XSUB.h.
+ */