projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
The ext/Cwd/Cwd.xs part of...
[p5sagit/p5-mst-13.2.git]
/
hv.h
diff --git
a/hv.h
b/hv.h
index
b8d6b7d
..
dd35ae5
100644
(file)
--- a/
hv.h
+++ b/
hv.h
@@
-528,6
+528,16
@@
struct refcounted_he {
#define HV_DELETE 0x40
/*
+=for apidoc newHV
+
+Creates a new HV. The reference count is set to 1.
+
+=cut
+*/
+
+#define newHV() ((HV*)newSV_type(SVt_PVHV))
+
+/*
* Local variables:
* c-indentation-style: bsd
* c-basic-offset: 4