summaryrefslogtreecommitdiff
path: root/ext/ming/php_ming.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-07-11 07:48:13 +0000
committerfoobar <sniper@php.net>2003-07-11 07:48:13 +0000
commit2deb3c224da34ce53ce4a92262414ddd2f7f33b2 (patch)
tree51153d2bb7f8d82ac725128dd4708ba82515d615 /ext/ming/php_ming.h
parent5afd8cbf07f6a973f0666a5ba5cb480087e35978 (diff)
downloadphp-git-2deb3c224da34ce53ce4a92262414ddd2f7f33b2.tar.gz
- CS/WS fixes
- Updated CREDITS - Added some kind of version check for ming.. - Fixed some possible BC issues.
Diffstat (limited to 'ext/ming/php_ming.h')
-rw-r--r--ext/ming/php_ming.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/ext/ming/php_ming.h b/ext/ming/php_ming.h
index 3fc7046823..461deb9690 100644
--- a/ext/ming/php_ming.h
+++ b/ext/ming/php_ming.h
@@ -1,24 +1,24 @@
/*
- +----------------------------------------------------------------------+
- | PHP Version 4 |
- +----------------------------------------------------------------------+
- | Copyright (c) 1997-2003 The PHP Group |
- +----------------------------------------------------------------------+
- | This source file is subject to version 3.0 of the PHP license, |
- | that is bundled with this package in the file LICENSE, and is |
- | available through the world-wide-web at the following url: |
- | http://www.php.net/license/3_0.txt. |
- | If you did not receive a copy of the PHP license and are unable to |
- | obtain it through the world-wide-web, please send a note to |
- | license@php.net so we can mail you a copy immediately. |
- +----------------------------------------------------------------------+
- | Author: dave@opaque.net |
- +----------------------------------------------------------------------+
-
- $Id$
-
+ +----------------------------------------------------------------------+
+ | PHP Version 4 |
+ +----------------------------------------------------------------------+
+ | Copyright (c) 1997-2003 The PHP Group |
+ +----------------------------------------------------------------------+
+ | This source file is subject to version 3.0 of the PHP license, |
+ | that is bundled with this package in the file LICENSE, and is |
+ | available through the world-wide-web at the following url: |
+ | http://www.php.net/license/3_0.txt. |
+ | If you did not receive a copy of the PHP license and are unable to |
+ | obtain it through the world-wide-web, please send a note to |
+ | license@php.net so we can mail you a copy immediately. |
+ +----------------------------------------------------------------------+
+ | Authors: Dave Hayden <dave@opaque.net> |
+ | Frank M. Kromann <fmk@php.net> |
+ +----------------------------------------------------------------------+
*/
+/* $Id$ */
+
#ifndef _PHP_MING_H
#define _PHP_MING_H
@@ -27,8 +27,6 @@
extern zend_module_entry ming_module_entry;
#define ming_module_ptr &ming_module_entry
-#include <ming.h>
-
PHP_RINIT_FUNCTION(ming);
PHP_MINIT_FUNCTION(ming);
PHP_MINFO_FUNCTION(ming);
@@ -76,7 +74,10 @@ PHP_FUNCTION(swfmovie_setBackground);
PHP_FUNCTION(swfmovie_setRate);
PHP_FUNCTION(swfmovie_setDimension);
PHP_FUNCTION(swfmovie_setFrames);
+
+#ifdef HAVE_NEW_MING
PHP_FUNCTION(swfmovie_streamMp3);
+#endif
PHP_FUNCTION(swfsprite_init);
PHP_FUNCTION(swfsprite_add);