summaryrefslogtreecommitdiff
path: root/ext/swf
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2000-05-02 00:24:18 +0000
committerSterling Hughes <sterling@php.net>2000-05-02 00:24:18 +0000
commit95310ad5e0e5094f72e188c8f2fc8d446ee3921c (patch)
tree63e07d30aee76f5911ac65ea440ebf29e00203be /ext/swf
parent7613e064f8281cc09fefe9f89655ea8af10e095c (diff)
downloadphp-git-95310ad5e0e5094f72e188c8f2fc8d446ee3921c.tar.gz
Make swf_nextid() return a value.
Diffstat (limited to 'ext/swf')
-rw-r--r--ext/swf/swf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/swf/swf.c b/ext/swf/swf.c
index 560dd8442c..e5283e7147 100644
--- a/ext/swf/swf.c
+++ b/ext/swf/swf.c
@@ -141,6 +141,7 @@ PHP_MINIT_FUNCTION(swf)
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 @@ PHP_FUNCTION(swf_removeobject)
Returns a free objid */
PHP_FUNCTION(swf_nextid)
{
- swf_nextid();
+ RETURN_LONG(swf_nextid());
}
/* }}} */