From 95310ad5e0e5094f72e188c8f2fc8d446ee3921c Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Tue, 2 May 2000 00:24:18 +0000 Subject: [PATCH] Make swf_nextid() return a value. --- ext/swf/swf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/swf/swf.c b/ext/swf/swf.c index 560dd8442c8..e5283e71472 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()); } /* }}} */