[Perl/perl5] 69debf: ExtUtils::ParseXS: Add MAYBE support to return val...

[email protected] (Leon Timmermans via perl5-changes) Mon, 20 Jul 2026 12:23:48 -0700
Newsgroups perl.perl5.changes
Message-ID <Perl/perl5/push/refs/heads/parsexs-maybe/[email protected]>
  Branch: refs/heads/parsexs-maybe
  Home:   https://github.com/Perl/perl5
  Commit: 69debf2c74f6318147fb91c75689411bbf42b69d
      https://github.com/Perl/perl5/commit/69debf2c74f6318147fb91c75689411bbf42b69d
  Author: Leon Timmermans <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M dist/ExtUtils-ParseXS/lib/ExtUtils/ParseXS/Node.pm
    M dist/ExtUtils-ParseXS/t/005-parse-parameters.t
    M dist/ExtUtils-ParseXS/t/006-parse-return-type.t

  Log Message:
  -----------
  ExtUtils::ParseXS: Add MAYBE support to return values and output

This adds the MAYBE modifier to return values and output arguments.
This will map undef to the given sentinel (or NULL if none is given),
and otherwise use the usual typemapping machinery.


  Commit: 67abbe12ea023f29c883fd0d6e65587059480d36
      https://github.com/Perl/perl5/commit/67abbe12ea023f29c883fd0d6e65587059480d36
  Author: Leon Timmermans <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M dist/ExtUtils-ParseXS/Changes
    M dist/ExtUtils-ParseXS/lib/perlxs.pod

  Log Message:
  -----------
  ExtUtils::ParseXS: Document MAYBE functionality


Compare: https://github.com/Perl/perl5/compare/2bbac3597ac1...67abbe12ea02

To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications