bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HV and SV problem


From: Patrice Dumas
Subject: Re: HV and SV problem
Date: Sat, 7 Jun 2025 10:42:26 +0200

On Sat, Jun 07, 2025 at 09:51:50AM +0200, Patrice Dumas wrote:
> I found newSVsv, which seems to copy the SV, including the blessing and
> the 'reference' to the HV, this could be an alternative to keeping the
> HV in C and calling newRV and blessing each time a reference is needed.
> I still need to check if there needs to be an adjustment of reference
> counting.

Seems like newSVsv increases the refcount for the HV automatically,
which is what we want.  I think that I will use newSVsv.  The only
potential issue I see is that this function isn't much described,
possibly because the developpers may want to change its effect someday.

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]