This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41805eb
)
perl.h: Add comments
author
Karl Williamson
<public@khwilliamson.com>
Thu, 6 Dec 2012 04:39:21 +0000
(21:39 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Sun, 9 Dec 2012 16:47:18 +0000
(09:47 -0700)
perl.h
patch
|
blob
|
blame
|
history
diff --git
a/perl.h
b/perl.h
index
b13521a
..
d97a577
100644
(file)
--- a/
perl.h
+++ b/
perl.h
@@
-5006,8
+5006,14
@@
struct interpreter {
/* Set up PERLVAR macros for populating structs */
# define PERLVAR(prefix,var,type) type prefix##var;
+
+/* 'var' is an array of length 'n' */
# define PERLVARA(prefix,var,n,type) type prefix##var[n];
+
+/* initialize 'var' to init' */
# define PERLVARI(prefix,var,type,init) type prefix##var;
+
+/* like PERLVARI, but make 'var' a const */
# define PERLVARIC(prefix,var,type,init) type prefix##var;
struct interpreter {