diff options
author | Father Chrysostomos <sprout@cpan.org> | 2015-01-03 18:53:29 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2015-01-03 18:53:29 -0800 |
commit | 8b5730700c25a05280970d71df4eb7ca45967f2b (patch) | |
tree | d10cd37e83a80fcccdd69ca47f34f153e4a39929 /perl.h | |
parent | 4b2bcf2b0939c3ea654c9b2ba72f9fcc63964cb7 (diff) | |
download | perl-8b5730700c25a05280970d71df4eb7ca45967f2b.tar.gz |
perl.h:MY_CXT_CLONE: void *, not void **
C++ fails otherwise, and PL_my_cxt_list is void ** so individual
elephants (aka elements) should be void *.
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6156,7 +6156,7 @@ typedef struct am_table_short AMTS; /* Clones the per-interpreter data. */ # define MY_CXT_CLONE \ my_cxt_t *my_cxtp = (my_cxt_t*)SvPVX(newSV(sizeof(my_cxt_t)-1));\ - void ** old_my_cxtp = PL_my_cxt_list[MY_CXT_INDEX]; \ + void * old_my_cxtp = PL_my_cxt_list[MY_CXT_INDEX]; \ PL_my_cxt_list[MY_CXT_INDEX] = my_cxtp; \ Copy(old_my_cxtp, my_cxtp, 1, my_cxt_t); |