summaryrefslogtreecommitdiff
path: root/pod/perlapi.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/perlapi.pod')
-rw-r--r--pod/perlapi.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod
index 2e7e59db46..b003135dd4 100644
--- a/pod/perlapi.pod
+++ b/pod/perlapi.pod
@@ -693,7 +693,7 @@ Found in file perl.c
The engine implementing pack() Perl function.
- void packlist(SV *cat, char *pat, char *patend, SV **beglist, SV **endlist)
+ void packlist(SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist)
=for hackers
Found in file pp_pack.c
@@ -703,7 +703,7 @@ Found in file pp_pack.c
The engine implementing pack() Perl function. Note: parameters next_in_list and
flags are not used. This call should not be used; use packlist instead.
- void pack_cat(SV *cat, char *pat, char *patend, SV **beglist, SV **endlist, SV ***next_in_list, U32 flags)
+ void pack_cat(SV *cat, const char *pat, const char *patend, SV **beglist, SV **endlist, SV ***next_in_list, U32 flags)
=for hackers
Found in file pp_pack.c
@@ -714,7 +714,7 @@ The engine implementing unpack() Perl function. C<unpackstring> puts the
extracted list items on the stack and returns the number of elements.
Issue C<PUTBACK> before and C<SPAGAIN> after the call to this function.
- I32 unpackstring(char *pat, char *patend, char *s, char *strend, U32 flags)
+ I32 unpackstring(const char *pat, const char *patend, const char *s, const char *strend, U32 flags)
=for hackers
Found in file pp_pack.c
@@ -724,7 +724,7 @@ Found in file pp_pack.c
The engine implementing unpack() Perl function. Note: parameters strbeg, new_s
and ocnt are not used. This call should not be used, use unpackstring instead.
- I32 unpack_str(char *pat, char *patend, char *s, char *strbeg, char *strend, char **new_s, I32 ocnt, U32 flags)
+ I32 unpack_str(const char *pat, const char *patend, const char *s, const char *strbeg, const char *strend, char **new_s, I32 ocnt, U32 flags)
=for hackers
Found in file pp_pack.c