Re: I'v came back now
| From: | Wenlong Wu | Date: | Thu, 08 Jul 2004 02:39:13 +0000 |
| Subject: | Re: I'v came back now | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-948@lists.php.net to get a copy of this message | ||
Could anybody help me?
Thanks!
"Wenlong Wu" <ezdevelop@hotmail.com> дÈëÓʼþ
news:20040705060905.98855.qmail@pb1.pair.com...
> Hi,
> I'v came back now :)
>
> I'v rewrote all the code of freeimage extension, and plan to release the
> first version.
>
> Currently, I'v meet a problem, I'v wrote a function for freeimage error
> handler,
> but why cann't be captured? see the following code for detail.
>
> /* {{{ _php_freeimage_error_handler
> */
> void _php_freeimage_error_handler(FREE_IMAGE_FORMAT fif, const char
> *message)
> {
> php_printf("\n*** ");
> php_printf("%s Format:\n", FreeImage_GetFormatFromFIF(fif));
> php_printf(message);
> php_printf(" ***\n");
> }
> /* }}} */
>
> ....
>
> /* {{{ PHP_MINIT_FUNCTION
> */
> PHP_MINIT_FUNCTION(freeimage)
> {
> ...
> /* FreeImage error handler */
> FreeImage_SetOutputMessage(_php_freeimage_error_handler);
> ...
> return SUCCESS;
> }
> /* }}} */