On Tue, 12 Nov 2002, Pierre-Alain Joye wrote:
> Hello,
>
> That's it :)
>
> I did not find a sample privat function, now I do. For the ML archive,
> here is how to do it:
>
> On Tue, 12 Nov 2002 17:48:08 +0100 (CET)
> Derick Rethans <[EMAIL PROTECTED]> wrote:
>
> > typedef image_filter {
> > void (function*)(INTERNAL_FUNCTION_PARAMETERS);
> > } image_filter;
>
> has to be:
> typedef void (*image_filter)(INTERNAL_FUNCTION_PARAMETERS);
>
> We do not need a bidemensional array, except if we want to add the arg
> number to avoid a useless call.
> image_filter filters[] = {_php_image_filter_none,
> _php_image_filter_negate,
> _php_image_filter_blur
> };
>
> the "_php_" prefix seems to be the std for privat function, confirmation
> ?
Use just "php_". "_php_" is deprecated.
-Andrei http://www.gravitonic.com/
* Reality isn't all it's cracked up to be. *
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php