summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2015-10-29 15:05:59 +1100
committerTony Cook <tony@develop-help.com>2015-11-09 11:53:15 +1100
commitb1744e1301fac4040f4a35d41cb9ff1e8531edc3 (patch)
treee43bc0a2a094a02454dcc53c2317234cf8375342 /embed.fnc
parent636efde423cb618062f58fe3313feb544ebe3882 (diff)
downloadperl-b1744e1301fac4040f4a35d41cb9ff1e8531edc3.tar.gz
make sv_ref() part of the API
The existing sv_reftype() returns the class of a blessed SV only as a const char *, so we can't tell if it's UTF8 or not. This probably should have been API from the beginning.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index d694f4e174..9dd6bc3206 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1473,7 +1473,7 @@ Apd |char* |sv_recode_to_utf8 |NN SV* sv|NN SV *encoding
Apd |bool |sv_cat_decode |NN SV* dsv|NN SV *encoding|NN SV *ssv|NN int *offset \
|NN char* tstr|int tlen
ApdR |const char* |sv_reftype |NN const SV *const sv|const int ob
-pd |SV* |sv_ref |NULLOK SV *dst|NN const SV *const sv|const int ob
+Apd |SV* |sv_ref |NULLOK SV *dst|NN const SV *const sv|const int ob
Apd |void |sv_replace |NN SV *const sv|NN SV *const nsv
Apd |void |sv_report_used
Apd |void |sv_reset |NN const char* s|NULLOK HV *const stash