List Info

Thread: Problem with overloading add type casts of numeric strings in PHP bindings




Problem with overloading add type casts of numeric strings in PHP bindings
user name
2006-02-14 09:58:41
On Tue, Feb 14, 2006 at 12:03:48AM +0100, Mikael Johansson
wrote:
> Overloaded methods are mapped in PHP to their
implementation (_SWIG_0, 
> _SWIG_1, ..) based on the types and number of arguments
the user supplies. 
> However, if one overload accept a string and another an
integer the 
> bindings fail to separate them since PHP treats numeric
strings much the 
> same as integers.

I've responded in bugzilla (short version: should be fixed
in SVN):

http://xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=68

> Other than that the new bindings with emulated
overloads are great, much 
> kudos.

All the credit is due to Kevin Ruland, who's recently taken
on the role
of SWIG PHP maintainer.

Cheers,
    Olly

_______________________________________________
Xapian-devel mailing list
Xapian-devellists.xapian.org
http://lists.xapian.org/mailman/listinfo/xapian-devel
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )