summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-11-09 11:17:17 +0000
committerNicholas Clark <nick@ccl4.org>2005-11-09 11:17:17 +0000
commit6d6403992dc19fd3b831cbc6a211e3354a53c639 (patch)
tree21dc6eb7888fcdbe2e1123dbe229fe84fa162ee3 /pad.c
parent238d24b47319609016b1ceeca1f7146f7484b9a0 (diff)
downloadperl-6d6403992dc19fd3b831cbc6a211e3354a53c639.tar.gz
Add a comment about possible future refactoring of the pad code.
p4raw-id: //depot/perl@26060
Diffstat (limited to 'pad.c')
-rw-r--r--pad.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/pad.c b/pad.c
index 4d87758ea8..cbc1cb5075 100644
--- a/pad.c
+++ b/pad.c
@@ -393,7 +393,13 @@ for a slot which has no name and no active value.
/* XXX DAPM integrate alloc(), add_name() and add_anon(),
* or at least rationalise ??? */
-
+/* And flag whether the incoming name is UTF8 or 8 bit?
+ Could do this either with the +ve/-ve hack of the HV code, or expanding
+ the flag bits. Either way, this makes proper Unicode safe pad support.
+ Also could change the sv structure to make the NV a union with 2 U32s,
+ so that SvCUR() could stop being overloaded in pad SVs.
+ NWC
+*/
PADOFFSET
Perl_pad_alloc(pTHX_ I32 optype, U32 tmptype)