develooper Front page | perl.perl5.porters | Postings from March 2003

[patch ext/B/typemap] STRLEN T_UV

Thread Next
From:
Stas Bekman
Date:
March 13, 2003 22:46
Subject:
[patch ext/B/typemap] STRLEN T_UV
Message ID:
3E717A75.2060300@stason.org

make STRLEN T_UV:
- to be consistent with lib/ExtUtils/typemap
- because it makes sense, strlen can't be negative

patch inlined/attached

Doesn't the same apply to SSize_t?

--- ext/B/typemap.orig  2003-03-14 17:40:53.000000000 +1100
+++ ext/B/typemap       2003-03-14 17:41:32.000000000 +1100
@@ -29,7 +29,7 @@

  B::MAGIC       T_MG_OBJ
  SSize_t                T_IV
-STRLEN         T_IV
+STRLEN         T_UV
  PADOFFSET      T_UV

  INPUT


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

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