From: Hartmut Holzgraefe Date: Sat, 15 Dec 2001 14:22:59 +0000 (+0000) Subject: proto fixes X-Git-Tag: PRE_ISSET_PATCH~539 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c51651dee2e1d6d476e8dca6aa5160ff00113057;p=php proto fixes --- diff --git a/ext/gettext/gettext.c b/ext/gettext/gettext.c index 162f1ab26a..f36b2e48b0 100644 --- a/ext/gettext/gettext.c +++ b/ext/gettext/gettext.c @@ -217,7 +217,7 @@ PHP_FUNCTION(ngettext) #endif #if HAVE_DNGETTEXT -/* {{{ proto string dngettext (string domain, string msgid1, string msgid2, long count) +/* {{{ proto string dngettext (string domain, string msgid1, string msgid2, int count) Plural version of dgettext() */ PHP_FUNCTION(dngettext) { @@ -245,7 +245,7 @@ PHP_FUNCTION(dngettext) #endif #if HAVE_DCNGETTEXT -/* {{{ proto string dcngettext (string domain, string msgid1, string msgid2, long n, int category) +/* {{{ proto string dcngettext (string domain, string msgid1, string msgid2, int n, int category) Plural version of dcgettext() */ PHP_FUNCTION(dcngettext) { diff --git a/ext/ming/ming.c b/ext/ming/ming.c index c15eb8555a..69bcb57c3a 100644 --- a/ext/ming/ming.c +++ b/ext/ming/ming.c @@ -53,6 +53,8 @@ static SWFAction getAction(zval *id TSRMLS_DC); static SWFMorph getMorph(zval *id TSRMLS_DC); static SWFMovieClip getSprite(zval *id TSRMLS_DC); +/* {{{ proto void ming_setcubicthreshold (int threshold) + Set cubic threshold (?) */ PHP_FUNCTION(ming_setCubicThreshold) { zval **num; @@ -64,7 +66,10 @@ PHP_FUNCTION(ming_setCubicThreshold) Ming_setCubicThreshold(Z_LVAL_PP(num)); } +/* }}} */ +/* {{{ proto void ming_setscale(int scale) + Set scale (?) */ PHP_FUNCTION(ming_setScale) { zval **num; @@ -76,7 +81,10 @@ PHP_FUNCTION(ming_setScale) Ming_setScale(Z_DVAL_PP(num)); } +/* }}} */ +/* {{{ proto void ming_useswfversion(int version) + Use SWF version (?) */ PHP_FUNCTION(ming_useSWFVersion) { zval **num; @@ -88,6 +96,7 @@ PHP_FUNCTION(ming_useSWFVersion) Ming_useSWFVersion(Z_LVAL_PP(num)); } +/* }}} */ static int le_swfmoviep; static int le_swfshapep; @@ -585,9 +594,9 @@ PHP_FUNCTION(swfbutton_addAction) } /* }}} */ -/* {{{ proto int swfbutton_keypress(string str) - Returns the action flag for keyPress(char) */ +/* {{{ proto int swfbutton_keypress(string str) + Returns the action flag for keyPress(char) */ PHP_FUNCTION(swfbutton_keypress) { zval **key;