summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2001-12-15 14:22:59 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2001-12-15 14:22:59 +0000
commitc51651dee2e1d6d476e8dca6aa5160ff00113057 (patch)
treecacceae957b209869ab6a92edd1fd86d88823bc1
parent57c7f0ab5c15d038483063a931541b8eb29fa570 (diff)
downloadphp-git-c51651dee2e1d6d476e8dca6aa5160ff00113057.tar.gz
proto fixes
-rw-r--r--ext/gettext/gettext.c4
-rw-r--r--ext/ming/ming.c13
2 files changed, 13 insertions, 4 deletions
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;