summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-12-27 08:58:19 +0000
committerNicholas Clark <nick@ccl4.org>2010-12-27 08:58:19 +0000
commitfc51b17cb579e8cdaf6e99fdeb80f92379491759 (patch)
treea38a6939058b6f486b2adb927391ba75e2f57ecb /embed.fnc
parent2f9970be002ee78a22fc687876139eedc9eb3a65 (diff)
downloadperl-fc51b17cb579e8cdaf6e99fdeb80f92379491759.tar.gz
Merge Perl_do_chop() and Perl_do_chomp().
They share code for dealing with PVAVs, PVHVs, read only values and handling PL_encoding. They are not part of the public API, and Google codesearch shows no users outside the core.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc3
1 files changed, 1 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index 88129d7fd9..4cc7641109 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -301,7 +301,6 @@ pmb |bool |do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp
p |bool |do_aexec5 |NULLOK SV* really|NN SV** mark|NN SV** sp|int fd|int do_report
Ap |int |do_binmode |NN PerlIO *fp|int iotype|int mode
: Used in pp.c
-p |void |do_chop |NN SV *astr|NN SV *sv
Ap |bool |do_close |NULLOK GV* gv|bool not_implicit
: Defined in doio.c, used only in pp_sys.c
p |bool |do_eof |NN GV* gv
@@ -355,7 +354,7 @@ p |bool |do_print |NULLOK SV* sv|NN PerlIO* fp
: Used in pp_sys.c
pR |OP* |do_readline
: Used in pp.c
-p |void |do_chomp |NN SV *count|NN SV *sv
+p |void |do_chomp |NN SV *retval|NN SV *sv|bool chomping
: Defined in doio.c, used only in pp_sys.c
p |bool |do_seek |NULLOK GV* gv|Off_t pos|int whence
Ap |void |do_sprintf |NN SV* sv|I32 len|NN SV** sarg