summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-03 15:57:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-03 15:57:42 +0000
commitccfc67b7b0a9fa9e1a1cbb2090b71ea33fc44ae7 (patch)
treeb48ab198db925c5c8a44a59a70346598d6e7e561 /handy.h
parentb5777b261727bad592dbbe6d1c792d2f010dd753 (diff)
downloadperl-ccfc67b7b0a9fa9e1a1cbb2090b71ea33fc44ae7.tar.gz
Missed the =head1 additions.
p4raw-id: //depot/perl@14041
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/handy.h b/handy.h
index c792665df9..1acfb0d6a4 100644
--- a/handy.h
+++ b/handy.h
@@ -21,9 +21,10 @@
#define Null(type) ((type)NULL)
/*
-=for apidoc AmU||Nullch
-Null character pointer.
+=head1 Handy Values
+=for apidoc AmU||Nullch
+Null character pointer.
=for apidoc AmU||Nullsv
Null SV pointer.
@@ -210,6 +211,8 @@ typedef U64TYPE U64;
#define Ctl(ch) ((ch) & 037)
/*
+=head1 Miscellaneous Functions
+
=for apidoc Am|bool|strNE|char* s1|char* s2
Test two strings to see if they are different. Returns true or
false.
@@ -283,6 +286,9 @@ C<strncmp>).
#endif
/*
+
+=head1 Character classes
+
=for apidoc Am|bool|isALNUM|char ch
Returns a boolean indicating whether the C C<char> is an ASCII alphanumeric
character (including underscore) or digit.
@@ -515,6 +521,8 @@ typedef U16 line_t;
*/
/*
+=head1 SV Manipulation Functions
+
=for apidoc Am|SV*|NEWSV|int id|STRLEN len
Creates a new SV. A non-zero C<len> parameter indicates the number of
bytes of preallocated string space the SV should have. An extra byte for a
@@ -522,6 +530,8 @@ tailing NUL is also reserved. (SvPOK is not set for the SV even if string
space is allocated.) The reference count for the new SV is set to 1.
C<id> is an integer id between 0 and 1299 (used to identify leaks).
+=head1 Memory Management
+
=for apidoc Am|void|New|int id|void* ptr|int nitems|type
The XSUB-writer's interface to the C C<malloc> function.