PHP_FUNCTION(swfmovie_output)
{
+ SWFMovie movie = getMovie(getThis() TSRMLS_CC);
+#ifdef HAVE_MING_ZLIB
zval **zlimit = NULL;
int limit = -1;
- SWFMovie movie = getMovie(getThis() TSRMLS_CC);
-#ifdef HAVE_MING_ZLIB
if (zend_get_parameters_ex(1, &zlimit) == FAILURE) {
WRONG_PARAM_COUNT;
}
PHP_FUNCTION(swfmovie_saveToFile)
{
zval **x;
+#ifdef HAVE_MING_ZLIB
zval **zlimit = NULL;
int limit = -1;
+#endif
SWFMovie movie = getMovie(getThis() TSRMLS_CC);
php_stream *what;
Saves the movie. 'where' can be stream and the movie will be saved there otherwise it is treated as string and written in file with that name */
PHP_FUNCTION(swfmovie_save)
{
- zval **x, **zlimit = NULL;
+ zval **x;
+#ifdef HAVE_MING_ZLIB
+ zval **zlimit = NULL;
int limit = -1;
+#endif
long retval;
php_stream *stream;