develooper Front page | perl.perl5.porters | Postings from May 2019

av_top_index() not in ppport.h

Thread Next
From:
demerphq
Date:
May 14, 2019 21:48
Subject:
av_top_index() not in ppport.h
Message ID:
CANgJU+VXKZCMreoP7wCB9N7E9F4=Q5sBYLR6+vUO2GZsymxypw@mail.gmail.com
I recently ran into the need to do (on perl 5.8.9):

#ifndef av_top_index
#define av_top_index(x) av_len(x)
#endif

Am I wrong, isn't that what ppport.h is for? Should I put together a patch?

cheers,
Yves

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Next


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