Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Olly Betts <olly <at> survex.com>
Subject: Re: CVS HEAD warns empty is PHP keyword in std_vector.i and std_map.i
Newsgroups: gmane.comp.programming.swig.devel
Date: Thursday 29th December 2005 21:20:55 UTC (over 11 years ago)
On Thu, Dec 29, 2005 at 07:55:31PM +0000, William S Fulton wrote:
> Is the warning bogus, as in can a method be called empty and be called 
> from php and work as expected? If so, you can suppress the warning for 
> just this one method.

A very good question.  I've just tried, and you can safely have a method
called empty.  Patch against CVS HEAD attached.  With this applied, I
get no warnings from "%include stl.i" when generating PHP bindings.

Cheers,
    Olly
 
CD: 13ms