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

Perl Unicode API

Thread Next
From:
David Mertens
Date:
May 8, 2012 08:32
Subject:
Perl Unicode API
Message ID:
CA+4ieYXO+EYKKD0Y55-RoHJHo50bYeWt0LBhaTRkrz2ijmBgpw@mail.gmail.com
Hey folks -

It is well known (at least in the echo chamber) that Perl's Unicode
handling rocks. David Oswald has need to evaluate Unicode-safe string
comparisons on SV pointers from C/C++ code. Perl does this with ops
(pp_scmp, for example). However, these are not considered to be part of the
public Perl/C api. Thus, the following questions arise:

   1. Would anyone object to making these part of the public API?
   2. I believe that making a C function part of the public API is simply a
   matter of documenting it. Is this correct? Is there a policy about tests
   for public API functions?
   3. If the answers to the previous two questions are "no" and "yes", how
   might we (I) go about adding said docs? I believe that it is simply a
   matter of adding the appropriate =for statements to the source code. Is
   this correct?

Thanks!
David

-- 
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan

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