summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-08-15 22:11:46 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-08-21 16:51:13 -0700
commit6763423431e1ea415b9abe4d7d5d8715e9203fc3 (patch)
tree97aab92f4ec2c87bf68b58d2453b1ff4a8f7f842 /perl.h
parent422d49eaf434b35811b252bdb95a63fb6c2b27e8 (diff)
downloadperl-6763423431e1ea415b9abe4d7d5d8715e9203fc3.tar.gz
Move PAD(LIST) typedefs to perl.h
otherwise they can only be used in some header files.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 3a9490fd90..5be85c46e5 100644
--- a/perl.h
+++ b/perl.h
@@ -2442,6 +2442,11 @@ typedef struct ptr_tbl_ent PTR_TBL_ENT_t;
typedef struct ptr_tbl PTR_TBL_t;
typedef struct clone_params CLONE_PARAMS;
+/* a padlist is currently just an AV; but that might change,
+ * so hide the type. Ditto a pad. */
+typedef AV PADLIST;
+typedef AV PAD;
+
#include "handy.h"
#if defined(USE_LARGE_FILES) && !defined(NO_64_BIT_RAWIO)