summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-08-26 17:47:31 -0600
committerKarl Williamson <khw@cpan.org>2020-09-04 16:13:25 -0600
commit51b56f5c7c7e109a2c53226c83c2d324801d4f9b (patch)
tree6fba1874921dc4fbec86d41614083856335c42cb /mg.c
parent70b05c7cee1d4db8aa1fee6424603ecb21eac423 (diff)
downloadperl-51b56f5c7c7e109a2c53226c83c2d324801d4f9b.tar.gz
Reorganize perlapi
This uses a new organization of sections that I came up with. I asked for comments on p5p, but there were none.
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index 16b72bf1f4..3708bd50fe 100644
--- a/mg.c
+++ b/mg.c
@@ -16,7 +16,7 @@
*/
/*
-=head1 Magical Functions
+=head1 Magic
"Magic" is special data attached to SV structures in order to give them
"magical" properties. When any Perl code tries to read from, or assign to,
an SV marked as magical, it calls the 'get' or 'set' function associated
@@ -846,6 +846,7 @@ S_fixup_errno_string(pTHX_ SV* sv)
}
/*
+=for apidoc_section Errno
=for apidoc sv_string_from_errnum
Generates the message string describing an OS error and returns it as
@@ -1909,6 +1910,7 @@ Perl_magic_setnkeys(pTHX_ SV *sv, MAGIC *mg)
}
/*
+=for apidoc_section Magic
=for apidoc magic_methcall
Invoke a magic method (like FETCH).
@@ -3639,6 +3641,7 @@ S_unwind_handler_stack(pTHX_ const void *p)
}
/*
+=for apidoc_section Magic
=for apidoc magic_sethint
Triggered by a store to C<%^H>, records the key/value pair to