PHP bindings (was Re: [Xapian-discuss] Q prefix / Unique ID not being found)

Olly Betts olly at survex.com
Tue Mar 29 12:05:10 BST 2005


On Tue, Mar 29, 2005 at 11:58:55AM +0100, James Aylett wrote:
> --- xapian.i    21 Mar 2005 09:37:45 -0000      1.27
> +++ xapian.i    21 Mar 2005 14:19:43 -0000
> @@ -263,7 +263,6 @@ class MSet {
>      weight get_max_possible();
>      weight get_max_attained();
>      doccount size() const;
> -    doccount max_size() const;
>      bool empty() const;
>      %extend {
>         bool is_empty() const { return self->empty(); }
> ----------------------------------------------------------------------
> 
> which I think was something Richard suggested last week. IIRC
> max_size() is an STL requirement; size() should be sufficient for all
> SWIG target languages.

Agreed.  Commit that too.

Cheers,
    Olly



More information about the Xapian-discuss mailing list