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

Re: C99

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
May 18, 2021 13:23
Subject:
Re: C99
Message ID:
20210518142331.470ed5b8@shy.leonerd.org.uk
On Tue, 18 May 2021 12:01:02 +0000
Nicholas Clark <nick@ccl4.org> wrote:

> Feature:     mixed declarations and code

> Feature:     member structure initialisers

> Feature:     vararg macros

In case it is of interest, I've been using all three of these in XS
modules on CPAN for a while now, and haven't yet encountered any
platforms which complain. No doubt there are some around, but those
don't seem to be ones that report smoketest results.

Most notably, all these passes:

  http://matrix.cpantesters.org/?dist=XS-Parse-Keyword+0.03

while using these features:

  member initialisers + vararg macros:
  https://metacpan.org/source/PEVANS/XS-Parse-Keyword-0.03/XSParseKeyword.h#L51-52

  mixed declarations and code:
  e.g.
  https://metacpan.org/source/PEVANS/XS-Parse-Keyword-0.03/lib/XS/Parse/Keyword.xs#L292

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

Thread Previous | 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