develooper Front page | perl.perl5.porters | Postings from March 2020

Re: Missing core function: sv_setrv()

Thread Previous
From:
Leon Timmermans
Date:
March 19, 2020 20:18
Subject:
Re: Missing core function: sv_setrv()
Message ID:
CAHhgV8h8kAtE4mVpnNLxq7iKGSPdOYFejQTjNf5mCEuKrUQpxA@mail.gmail.com
On Thu, Mar 19, 2020 at 3:20 PM Олег Пронин <syber@crazypanda.ru> wrote:
>
> Hello. Maybe offtopic, but there are convenient C++ Perl API (designed to use instead of perl native one) provided by XS::Framework;
>
> With this API it can be done as
> xs::Ref ref = sv1;
> xs::Sv value = sv2;
> ref.value(value);
>
> or (the same)
> Ref(sv1).value(sv2);

Yeah, definitely off-topic, but interesting nonetheless. It sounds
rather similar to what I did in libperl++.

Leon

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About