svnno****@sourc*****
svnno****@sourc*****
2011年 4月 1日 (金) 19:29:14 JST
Revision: 501 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=501 Author: yoya Date: 2011-04-01 19:29:14 +0900 (Fri, 01 Apr 2011) Log Message: ----------- swfInfo の関数の位置を変更 Modified Paths: -------------- trunk/src/php_swfed.c trunk/src/php_swfed.h -------------- next part -------------- Modified: trunk/src/php_swfed.c =================================================================== --- trunk/src/php_swfed.c 2011-04-01 10:15:57 UTC (rev 500) +++ trunk/src/php_swfed.c 2011-04-01 10:29:14 UTC (rev 501) @@ -56,7 +56,9 @@ PHP_ME(swfed, __construct, NULL, 0) PHP_ME(swfed, input, NULL, 0) PHP_ME(swfed, output, NULL, 0) + PHP_ME(swfed, swfInfo, NULL, 0) PHP_ME(swfed, _destroy_and_exit, NULL, 0) // for debug + PHP_ME(swfed, getHeaderInfo, NULL, 0) PHP_ME(swfed, setHeaderInfo, NULL, 0) PHP_ME(swfed, getTagList, NULL, 0) @@ -89,7 +91,6 @@ PHP_ME(swfed, replaceMovieClip, NULL, 0) PHP_ME(swfed, setCompressLevel, NULL, 0) - PHP_ME(swfed, swfInfo, NULL, 0) PHP_ME(swfed, rebuild, NULL, 0) PHP_ME(swfed, purgeUselessContents, NULL, 0) {NULL, NULL, NULL} /* Must be the last line in swfed_functions[] */ @@ -317,6 +318,12 @@ RETURN_STRINGL(new_buff, len, 0); } +PHP_METHOD(swfed, swfInfo) { + swf_object_t *swf = get_swf_object(getThis() TSRMLS_CC); + swf_object_print(swf); + RETURN_TRUE; +} + PHP_METHOD(swfed, _destroy_and_exit) { // for debug swf_object_t *swf = NULL; swf = get_swf_object(getThis() TSRMLS_CC); @@ -1223,12 +1230,6 @@ RETURN_TRUE; } -PHP_METHOD(swfed, swfInfo) { - swf_object_t *swf = get_swf_object(getThis() TSRMLS_CC); - swf_object_print(swf); - RETURN_TRUE; -} - PHP_METHOD(swfed, rebuild) { swf_object_t *swf = get_swf_object(getThis() TSRMLS_CC); if (swf_object_rebuild(swf)) { Modified: trunk/src/php_swfed.h =================================================================== --- trunk/src/php_swfed.h 2011-04-01 10:15:57 UTC (rev 500) +++ trunk/src/php_swfed.h 2011-04-01 10:29:14 UTC (rev 501) @@ -47,6 +47,7 @@ PHP_METHOD(swfed, __construct); PHP_METHOD(swfed, input); PHP_METHOD(swfed, output); +PHP_METHOD(swfed, swfInfo); PHP_METHOD(swfed, _destroy_and_exit); // for debug // PHP_METHOD(swfed, getHeaderInfo); @@ -81,7 +82,6 @@ PHP_METHOD(swfed, disasmActionData); PHP_METHOD(swfed, setActionVariables); PHP_METHOD(swfed, replaceMovieClip); -PHP_METHOD(swfed, swfInfo); PHP_METHOD(swfed, setCompressLevel); PHP_METHOD(swfed, rebuild); PHP_METHOD(swfed, purgeUselessContents);