summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-12-05 21:39:21 -0700
committerKarl Williamson <public@khwilliamson.com>2012-12-09 09:47:18 -0700
commiteb42f199581875bfa31b7e27ea4c1425417d0e5a (patch)
treef0c43c452d2a384f0be568c00de54e2e9a5d7a4d /perl.h
parent41805eb96d4ab7da622f82f6104ab8fa95527f33 (diff)
downloadperl-eb42f199581875bfa31b7e27ea4c1425417d0e5a.tar.gz
perl.h: Add comments
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index b13521aa45..d97a5776f9 100644
--- 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 {