Re: New libfann binding
| From: | Johannes Schlüter | Date: | Thu, 18 Jul 2013 14:58:52 +0000 |
| Subject: | Re: New libfann binding | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-10870@lists.php.net to get a copy of this message | ||
On Thu, 2013-07-18 at 13:11 +0100, Jakub Zelenka wrote:
> On Thu, Jul 18, 2013 at 12:22 PM, Johannes Schlüter
> <johannes@schlueters.de>wrote:
>
> > I was a bit confused as zif/zim is wrapped by macros and affects only OO
> > stuff ... and PHP 4 and OO sounds unlikely
> >
> >
> There are these lines in the code that make a compile error
> PHP_METHOD(fannOO, __set)
> ...
> zend_internal_function fe_set, fe_get;
> fe_set.handler = ZEND_FN(fannOO___set);
> ...
> error: ‘zif_fannOO___set’ undeclared
Ah, that's indeed a ug in the code. That should not be done. function !=
method. :)
Anyways not directly related to the original issue. So what do you
guysprefer:
- Reusing the name
or
- using fann2
johannes