More protos.

This commit is contained in:
Egon Schmid 2000-02-22 15:48:43 +00:00
parent 3b74bbe999
commit e06c2021c9
4 changed files with 11 additions and 11 deletions

View file

@ -107,7 +107,7 @@ PHP_FUNCTION(bcadd)
/* }}} */ /* }}} */
/* {{{ proto string bcsub(string left_operand, string right_operand [, int scale]) /* {{{ proto string bcsub(string left_operand, string right_operand [, int scale])
Returns the difference between two arbitrary precision numbers (subtration) */ Returns the difference between two arbitrary precision numbers */
PHP_FUNCTION(bcsub) PHP_FUNCTION(bcsub)
{ {
pval **left, **right,**scale_param; pval **left, **right,**scale_param;

View file

@ -241,7 +241,7 @@ int phpdav_mkcol_create_handler(request_rec *r)
/************************* EXTENSION FUNCTIONS *************************/ /************************* EXTENSION FUNCTIONS *************************/
/* {{{ proto void dav_set_mkcol_handlers(string test, string create) /* {{{ proto void dav_set_mkcol_handlers(string test, string create)
Sets the function to test whether a DAV collection exists for MKCOL */ Sets the function to test whether a DAV collection exists for MKCOL */
PHP_FUNCTION(dav_set_mkcol_handlers) PHP_FUNCTION(dav_set_mkcol_handlers)
{ {

View file

@ -31,7 +31,7 @@ void php_free_ps_enc(char **enc)
} }
/* {{{ proto int imagepsloadfont(string pathname) /* {{{ proto int imagepsloadfont(string pathname)
Load a new font from specified file */ Load a new font from specified file */
PHP_FUNCTION(imagepsloadfont) PHP_FUNCTION(imagepsloadfont)
{ {
pval *file; pval *file;
@ -131,7 +131,7 @@ PHP_FUNCTION(imagepscopyfont)
/* }}} */ /* }}} */
/* {{{ proto bool imagepsfreefont(int font_index) /* {{{ proto bool imagepsfreefont(int font_index)
Free memory used by a font */ Free memory used by a font */
PHP_FUNCTION(imagepsfreefont) PHP_FUNCTION(imagepsfreefont)
{ {
pval *fnt; pval *fnt;
@ -156,7 +156,7 @@ PHP_FUNCTION(imagepsfreefont)
/* }}} */ /* }}} */
/* {{{ proto bool imagepsencodefont(int font_index, string filename) /* {{{ proto bool imagepsencodefont(int font_index, string filename)
To change a fonts character encoding vector */ To change a fonts character encoding vector */
PHP_FUNCTION(imagepsencodefont) PHP_FUNCTION(imagepsencodefont)
{ {
pval *fnt, *enc; pval *fnt, *enc;
@ -195,7 +195,7 @@ PHP_FUNCTION(imagepsencodefont)
/* }}} */ /* }}} */
/* {{{ proto bool imagepsextendfont(int font_index, double extend) /* {{{ proto bool imagepsextendfont(int font_index, double extend)
Extend or or condense (if extend < 1) a font */ Extend or or condense (if extend < 1) a font */
PHP_FUNCTION(imagepsextendfont) PHP_FUNCTION(imagepsextendfont)
{ {
pval *fnt, *ext; pval *fnt, *ext;
@ -223,7 +223,7 @@ PHP_FUNCTION(imagepsextendfont)
/* }}} */ /* }}} */
/* {{{ proto bool imagepsslantfont(int font_index, double slant) /* {{{ proto bool imagepsslantfont(int font_index, double slant)
Slant a font */ Slant a font */
PHP_FUNCTION(imagepsslantfont) PHP_FUNCTION(imagepsslantfont)
{ {
pval *fnt, *slt; pval *fnt, *slt;
@ -250,7 +250,7 @@ PHP_FUNCTION(imagepsslantfont)
/* }}} */ /* }}} */
/* {{{ proto array imagepstext(int image, string text, int font, int size, int xcoord, int ycoord [, int space, int tightness, double angle, int antialias]) /* {{{ proto array imagepstext(int image, string text, int font, int size, int xcoord, int ycoord [, int space, int tightness, double angle, int antialias])
Rasterize a string over an image */ Rasterize a string over an image */
PHP_FUNCTION(imagepstext) PHP_FUNCTION(imagepstext)
{ {
pval *img, *str, *fnt, *sz, *fg, *bg, *sp, *px, *py, *aas, *wd, *ang; pval *img, *str, *fnt, *sz, *fg, *bg, *sp, *px, *py, *aas, *wd, *ang;
@ -418,8 +418,8 @@ PHP_FUNCTION(imagepstext)
} }
/* }}} */ /* }}} */
/* {{{ proto array imagepsbbox(string text, int font, int size[, int space, int tightness, int angle]) /* {{{ proto array imagepsbbox(string text, int font, int size [, int space, int tightness, int angle])
Return the bounding box needed by a string if rasterized */ Return the bounding box needed by a string if rasterized */
PHP_FUNCTION(imagepsbbox) PHP_FUNCTION(imagepsbbox)
{ {
pval *str, *fnt, *sz, *sp, *wd, *ang; pval *str, *fnt, *sz, *sp, *wd, *ang;

View file

@ -1252,7 +1252,7 @@ php_printf("%s\n", ptr);
/* }}} */ /* }}} */
/* {{{ proto string hw_dummy(int link, int id, int msgid) /* {{{ proto string hw_dummy(int link, int id, int msgid)
??? */ Hyperwave dummy function */
PHP_FUNCTION(hw_dummy) { PHP_FUNCTION(hw_dummy) {
pval **arg1, **arg2, **arg3; pval **arg1, **arg2, **arg3;
int link, id, type, msgid; int link, id, type, msgid;