projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Re: [perl #22727] split() with re_eval segfaults/panics
[p5sagit/p5-mst-13.2.git]
/
handy.h
diff --git
a/handy.h
b/handy.h
index
6936c20
..
9f0fb3c
100644
(file)
--- a/
handy.h
+++ b/
handy.h
@@
-619,6
+619,8
@@
hopefully catches attempts to access uninitialized memory.
#define StructCopy(s,d,t) Copy(s,d,1,t)
#endif
+#define C_ARRAY_LENGTH(a) (sizeof(a)/sizeof((a)[0]))
+
#ifdef NEED_VA_COPY
# ifdef va_copy
# define Perl_va_copy(s, d) va_copy(d, s)