summaryrefslogtreecommitdiff
path: root/pad.h
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2011-06-11 13:34:06 -0300
committerFather Chrysostomos <sprout@cpan.org>2011-07-12 21:46:52 -0700
commit9f6ec8dd8d5cdd18bbed7e4e89cec93bd2d8f9e7 (patch)
tree9ca58b396bff3f8958bf64e799e9bdab43c14faf /pad.h
parentfbb889c85e79da0c4f54a617b00e93f8c46a9bea (diff)
downloadperl-9f6ec8dd8d5cdd18bbed7e4e89cec93bd2d8f9e7.tar.gz
pad.h: Added a padadd_UTF8_NAME flag for pad_add_name_pvn.
Diffstat (limited to 'pad.h')
-rw-r--r--pad.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/pad.h b/pad.h
index 8c3d76d864..184b067276 100644
--- a/pad.h
+++ b/pad.h
@@ -120,11 +120,12 @@ typedef enum {
padtidy_FORMAT /* or a format */
} padtidy_type;
-/* flags for pad_add_name_pvn. SVf_UTF8 will also be valid in the future. */
+/* flags for pad_add_name_pvn. */
-#define padadd_OUR 0x01 /* our declaration. */
-#define padadd_STATE 0x02 /* state declaration. */
-#define padadd_NO_DUP_CHECK 0x04 /* skip warning on dups. */
+#define padadd_OUR 0x01 /* our declaration. */
+#define padadd_STATE 0x02 /* state declaration. */
+#define padadd_NO_DUP_CHECK 0x04 /* skip warning on dups. */
+#define padadd_UTF8_NAME SVf_UTF8 /* name is UTF-8 encoded. */
/* ASSERT_CURPAD_LEGAL and ASSERT_CURPAD_ACTIVE respectively determine
* whether PL_comppad and PL_curpad are consistent and whether they have