proto fixes

This commit is contained in:
Hartmut Holzgraefe 2001-12-15 14:22:59 +00:00
parent 57c7f0ab5c
commit c51651dee2
2 changed files with 13 additions and 4 deletions

View File

@ -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)
{

View File

@ -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;