Another thing to scan for Kwalitee? [probably quite hard] Nicholas Clark ----- Forwarded message from Marcus Holland-Moritz <[EMAIL PROTECTED]> -----
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk list-help: <mailto:[EMAIL PROTECTED]> list-unsubscribe: <mailto:[EMAIL PROTECTED]> list-post: <mailto:[EMAIL PROTECTED]> Delivered-To: mailing list [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] X-Authenticated: #13357003 Date: Fri, 2 Jan 2004 17:36:27 +0100 From: Marcus Holland-Moritz <[EMAIL PROTECTED]> To: Alberto Manuel Brandão Simões <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: XS and strings In-Reply-To: <[EMAIL PROTECTED]> X-Mailer: Sylpheed version 0.9.7claws (GTK+ 1.2.10; i686-pc-linux-gnu) X-Spam-Check-By: one.develooper.com X-Spam-Status: No, hits=-1.0 required=7.0 tests=CARRIAGE_RETURNS,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01 version=2.44 X-SMTPD: qpsmtpd/0.26, http://develooper.com/code/qpsmtpd/ On 2004-01-02, at 12:51:04 +0000, Alberto Manuel Brandão Simões wrote: > On Thu, 2004-01-01 at 21:50, Marcus Holland-Moritz wrote: > > First, don't pass NULL as RETVAL. This looks to me like you want to > > return an undefined value. Use XSRETURN_UNDEF instead. > > True. I was browsing the CPAN yesterday. A lot of people seem to assume that it's valid to return NULL as an AV*. It isn't. It even causes a segmentation violation. -- Power corrupts. And atomic power corrupts atomically. ----- End forwarded message -----