fmk Fri Nov 14 19:53:39 2003 EDT Modified files: /php-src/ext/ming ming.c Log: Adding missing class init's for new ming 0.3a functions Index: php-src/ext/ming/ming.c diff -u php-src/ext/ming/ming.c:1.59 php-src/ext/ming/ming.c:1.60 --- php-src/ext/ming/ming.c:1.59 Wed Nov 12 04:12:50 2003 +++ php-src/ext/ming/ming.c Fri Nov 14 19:53:38 2003 @@ -17,14 +17,14 @@ +----------------------------------------------------------------------+ */ -/* $Id: ming.c,v 1.59 2003/11/12 09:12:50 helly Exp $ */ +/* $Id: ming.c,v 1.60 2003/11/15 00:53:38 fmk Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" -#include "php_ming.h" +#include "php_globals.h" #include "ext/standard/info.h" #include "ext/standard/file.h" #include "ext/standard/fsock.h" @@ -32,6 +32,7 @@ #if HAVE_MING +#include "php_ming.h" #include <stdio.h> #include <math.h> #include <ming.h> @@ -69,6 +70,7 @@ static SWFMovieClip getSprite(zval *id TSRMLS_DC); static SWFSound getSound(zval *id TSRMLS_DC); #ifdef HAVE_NEW_MING +static SWFFontCharacter getFontCharacter(zval *id TSRMLS_DC); static SWFSoundInstance getSoundInstance(zval *id TSRMLS_DC); #endif @@ -3869,6 +3871,7 @@ INIT_CLASS_ENTRY(sprite_class_entry, "swfsprite", swfsprite_functions); INIT_CLASS_ENTRY(sound_class_entry, "swfsound", swfsound_functions); #ifdef HAVE_NEW_MING + INIT_CLASS_ENTRY(fontchar_class_entry, "swffontchar", swffontchar_functions); INIT_CLASS_ENTRY(soundinstance_class_entry, "swfsoundinstance", swfsoundinstance_functions); #endif @@ -3885,6 +3888,10 @@ action_class_entry_ptr = zend_register_internal_class(&action_class_entry TSRMLS_CC); morph_class_entry_ptr = zend_register_internal_class(&morph_class_entry TSRMLS_CC); sprite_class_entry_ptr = zend_register_internal_class(&sprite_class_entry TSRMLS_CC); +#ifdef HAVE_NEW_MING + fontchar_class_entry_ptr = zend_register_internal_class(&fontchar_class_entry TSRMLS_CC); + soundinstance_class_entry_ptr = zend_register_internal_class(&soundinstance_class_entry TSRMLS_CC); +#endif return SUCCESS; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php