summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2014-12-21 18:30:09 +0100
committerYves Orton <demerphq@gmail.com>2014-12-21 18:30:27 +0100
commitad2f46a793b4ade67d45ac0086ae62f6756c2752 (patch)
treef526f57aae8dd698e83a8b865955ee9cd9a09874 /embed.fnc
parent9d68dba11fd63ad66354452a0c8989e4c569795b (diff)
downloadperl-ad2f46a793b4ade67d45ac0086ae62f6756c2752.tar.gz
add hv_backreferences_p() to embed.fnc
Otherwise it cannot be used on Win32. See https://github.com/Sereal/Sereal/issues/73 for an example of where this breaks Win32 perl extensions.
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 16c33a2bd1..79e5e9ad9c 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2640,7 +2640,7 @@ p |void |hv_ename_add |NN HV *hv|NN const char *name|U32 len \
p |void |hv_ename_delete|NN HV *hv|NN const char *name|U32 len \
|U32 flags
: Used in dump.c and hv.c
-poM |AV** |hv_backreferences_p |NN HV *hv
+ApoM |AV** |hv_backreferences_p |NN HV *hv
#if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
poM |void |hv_kill_backrefs |NN HV *hv
#endif