develooper Front page | perl.perl5.porters | Postings from November 2016

I've added a new API function, sv_set_undef()

From:
Dave Mitchell
Date:
November 24, 2016 13:48
Subject:
I've added a new API function, sv_set_undef()
Message ID:
20161124134814.GE4785@iabyn.com
I hope the following commit is self-explanatory and non-controversial:

commit e03e82a04dda6a44b815f3367c69afb0e953dc91
Author:     David Mitchell <davem@iabyn.com>
AuthorDate: Thu Nov 24 09:40:44 2016 +0000
Commit:     David Mitchell <davem@iabyn.com>
CommitDate: Thu Nov 24 13:42:22 2016 +0000

    add sv_set_undef() API function
    
    This function is equivalent to sv_setsv(sv, &PL_sv_undef), but more
    efficient.
    
    Also change the obvious places in the core to use the new idiom.


-- 
"There's something wrong with our bloody ships today, Chatfield."
    -- Admiral Beatty at the Battle of Jutland, 31st May 1916.



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