Mikko Koppanen | 17 Mar 23:21 2008
Picon
Picon

cvs: pecl /imagick imagick.c

mkoppanen		Mon Mar 17 22:21:13 2008 UTC

  Modified files:              
    /pecl/imagick	imagick.c 
  Log:
  Allow the next methods to be called statically:
   - Imagick::getResourceLimit()
   - Imagick::setResourceLimit()
   - Imagick::queryFormats()
   - Imagick::queryFonts()

  
http://cvs.php.net/viewvc.cgi/pecl/imagick/imagick.c?r1=1.265&r2=1.266&diff_format=u
Index: pecl/imagick/imagick.c
diff -u pecl/imagick/imagick.c:1.265 pecl/imagick/imagick.c:1.266
--- pecl/imagick/imagick.c:1.265	Sat Mar 15 12:18:25 2008
+++ pecl/imagick/imagick.c	Mon Mar 17 22:21:13 2008
 <at>  <at>  -2992,8 +2992,8  <at>  <at> 
 	PHP_ME(imagick, spreadimage, imagick_spreadimage_args, ZEND_ACC_PUBLIC)
 	PHP_ME(imagick, swirlimage, imagick_swirlimage_args, ZEND_ACC_PUBLIC)
 	PHP_ME(imagick, stripimage, imagick_zero_args, ZEND_ACC_PUBLIC)
-	PHP_ME(imagick, queryformats, imagick_queryformats_args, ZEND_ACC_PUBLIC)
-	PHP_ME(imagick, queryfonts, imagick_queryfonts_args, ZEND_ACC_PUBLIC)
+	PHP_ME(imagick, queryformats, imagick_queryformats_args, ZEND_ACC_ALLOW_STATIC|ZEND_ACC_PUBLIC)
+	PHP_ME(imagick, queryfonts, imagick_queryfonts_args, ZEND_ACC_ALLOW_STATIC|ZEND_ACC_PUBLIC)
 	PHP_ME(imagick, queryfontmetrics, imagick_queryfontmetrics_args, ZEND_ACC_PUBLIC)
 	PHP_ME(imagick, steganoimage, imagick_steganoimage_args, ZEND_ACC_PUBLIC)
 	PHP_ME(imagick, addnoiseimage, imagick_addnoiseimage_args, ZEND_ACC_PUBLIC)
 <at>  <at>  -3127,7 +3127,7  <at>  <at> 
 	PHP_ME(imagick, getquantumrange, imagick_zero_args, ZEND_ACC_PUBLIC)
(Continue reading)


Gmane