cvs: /php4/ext/swf swf.c
| From: | Sterling Hughes | Date: | Tue, 02 May 2000 00:24:18 +0000 |
| Subject: | cvs: /php4/ext/swf swf.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14298@lists.php.net to get a copy of this message | ||
sterling Tue May 2 02:24:18 2000 EDT
Modified files:
/php4/ext/swf swf.c
Log:
Make swf_nextid() return a value.
Index: php4/ext/swf/swf.c
diff -u php4/ext/swf/swf.c:1.3 php4/ext/swf/swf.c:1.4
--- php4/ext/swf/swf.c:1.3 Mon May 1 04:42:26 2000
+++ php4/ext/swf/swf.c Tue May 2 02:24:18 2000
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: swf.c,v 1.3 2000/05/01 02:42:26 sas Exp $ */
+/* $Id: swf.c,v 1.4 2000/05/02 00:24:18 sterling Exp $ */
#include "php.h"
@@ -141,6 +141,7 @@
return SUCCESS;
}
+
/* {{{ proto void swf_openfile(string name, double xsize, double ysize, double framerate, double r,
double g, double b)
Create a Shockwave Flash file given by name, with width xsize and height ysize at a frame rate
of framerate and a background color specified by a red value of r, green value of g and a blue value
of b */
@@ -300,7 +301,7 @@
Returns a free objid */
PHP_FUNCTION(swf_nextid)
{
- swf_nextid();
+ RETURN_LONG(swf_nextid());
}
/* }}} */