OSDN Git Service

Merge pull request #6 from withgod/php80
[swfed/swfed.git] / src / php_swfed.h
index 0670a33..fa4e8fb 100644 (file)
@@ -98,9 +98,9 @@ PHP_METHOD(swfed, purgeUselessContents);
 
 PHP_METHOD(swfed, isShapeTagData);
 PHP_METHOD(swfed, isBitmapTagData);
-/* 
+/*
        Declare any global variables you may need between the BEGIN
-       and END macros here:     
+       and END macros here:
 
 ZEND_BEGIN_MODULE_GLOBALS(swfed)
        long  global_value;
@@ -108,12 +108,12 @@ ZEND_BEGIN_MODULE_GLOBALS(swfed)
 ZEND_END_MODULE_GLOBALS(swfed)
 */
 
-/* In every utility function you add that needs to use variables 
-   in php_swfed_globals, call TSRMLS_FETCH(); after declaring other 
+/* In every utility function you add that needs to use variables
+   in php_swfed_globals, call TSRMLS_FETCH(); after declaring other
    variables used by that function, or better yet, pass in TSRMLS_CC
    after the last function argument and declare your utility function
    with TSRMLS_DC after the last declared argument.  Always refer to
-   the globals in your function as SWFED_G(variable).  You are 
+   the globals in your function as SWFED_G(variable).  You are
    encouraged to rename these macros something shorter, see
    examples in any other php module directory.
 */
@@ -125,7 +125,7 @@ ZEND_END_MODULE_GLOBALS(swfed)
 #endif
 
 #define REGISTER_SWFED_CLASS_CONST_LONG(const_name, value) \
-    zend_declare_class_constant_long(swfeditor_ce, const_name, sizeof(const_name)-1, (long)value TSRMLS_CC);
+    zend_declare_class_constant_long(swfeditor_ce, const_name, sizeof(const_name)-1, (long)value);
 
 
 #endif /* PHP_SWFED_H */