This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
gv.c: Added gv_init_(sv|pv|pvn), renamed gv_init_sv as gv_init_svtype.
authorBrian Fraser <fraserbn@gmail.com>
Tue, 5 Jul 2011 04:27:13 +0000 (01:27 -0300)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 6 Oct 2011 20:00:57 +0000 (13:00 -0700)
commite606678100532d04b0a202d11e1d0f8323bd1564
treec5c32020e67b933ab54436b773725c0e46f412f2
parent0eaf81c53c0965e619d33cdd6a5f53c2f4bed7cf
gv.c: Added gv_init_(sv|pv|pvn), renamed gv_init_sv as gv_init_svtype.

gv_init_pvn() is the same as the old gv_init(), but takes
a flags parameter, which will be used for the UTF-8 cleanup.

The old gv_init() is now implemeneted as a macro in gv.h.

Also included is some minimal testing in XS::APItest.
MANIFEST
embed.fnc
embed.h
ext/XS-APItest/APItest.xs
ext/XS-APItest/t/gv_init.t [new file with mode: 0644]
gv.c
gv.h
proto.h