summaryrefslogtreecommitdiff
path: root/ext/swf/swf.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/swf/swf.c')
-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());
}
/* }}} */