summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2016-02-11 05:48:58 -0500
committerTony Cook <tony@develop-help.com>2016-02-16 10:46:45 +1100
commite42a763ce995f992cba5e79089f7898234887b55 (patch)
tree61971bad554239e522a9a0ed71efa4e77428b57b /hv.h
parent6ea11d8cdaa70c00dfcd58674da3c7f24266bbae (diff)
downloadperl-e42a763ce995f992cba5e79089f7898234887b55.tar.gz
minor comment improvements in hv.h and scope.h
-perl doesn't use malloc, it uses Newx (per interp memory) -say what the return type is of SSNEW
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hv.h b/hv.h
index d7cc42f7d2..b97b22425e 100644
--- a/hv.h
+++ b/hv.h
@@ -403,7 +403,8 @@ C<SV*>.
#define HVhek_UTF8 0x01 /* Key is utf8 encoded. */
#define HVhek_WASUTF8 0x02 /* Key is bytes here, but was supplied as utf8. */
#define HVhek_UNSHARED 0x08 /* This key isn't a shared hash key. */
-#define HVhek_FREEKEY 0x100 /* Internal flag to say key is malloc()ed. */
+/* the following flags are options for functions, they are not stored in heks */
+#define HVhek_FREEKEY 0x100 /* Internal flag to say key is Newx()ed. */
#define HVhek_PLACEHOLD 0x200 /* Internal flag to create placeholder.
* (may change, but Storable is a core module) */
#define HVhek_KEYCANONICAL 0x400 /* Internal flag - key is in canonical form.