mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
proto fixes
This commit is contained in:
parent
42486196ad
commit
250aded265
@ -562,7 +562,7 @@ PHP_FUNCTION(imagecreatetruecolor)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ void ImageTrueColorToPalette(resource im, bool ditherFlag, int colorsWanted)
|
||||
/* {{{ void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted)
|
||||
Convert a true colour image to a palette based image with a number of colours, optionally using dithering. */
|
||||
PHP_FUNCTION(imagetruecolortopalette)
|
||||
{
|
||||
@ -1247,7 +1247,7 @@ PHP_FUNCTION(imagecreatefromxbm)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ todo int imagecreatefromxpm(string filename)
|
||||
/* {{{ proto int imagecreatefromxpm(string filename)
|
||||
Create a new image from XPM file or URL */
|
||||
PHP_FUNCTION(imagecreatefromxpm)
|
||||
{
|
||||
@ -2631,8 +2631,8 @@ PHP_FUNCTION(imageftbbox)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto array imagettftext(int im, int size, int angle, int x, int y, int col, string font_file, string text, [array extrainfo])
|
||||
Write text to the image using a TrueType font */
|
||||
/* {{{ proto array imagefttext(int im, int size, int angle, int x, int y, int col, string font_file, string text, [array extrainfo])
|
||||
Write text to the image using fonts via freetype2 */
|
||||
PHP_FUNCTION(imagefttext)
|
||||
{
|
||||
#if HAVE_LIBGD20 && HAVE_LIBFREETYPE && HAVE_GD_STRINGFTEX
|
||||
|
@ -1286,7 +1286,7 @@ PHP_FUNCTION(mssql_fetch_array)
|
||||
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto array mssql_fetch_array(int result_id [, int result_type])
|
||||
/* {{{ proto array mssql_fetch_assoc(int result_id [, int result_type])
|
||||
Returns an associative array of the current row in the result set specified by result_id */
|
||||
PHP_FUNCTION(mssql_fetch_assoc)
|
||||
{
|
||||
|
@ -676,7 +676,7 @@ static X509 * php_openssl_x509_from_zval(zval ** val, int makeresource, long * r
|
||||
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto openssl_x509_export_to_file(mixed x509, string outfilename [, bool notext = true])
|
||||
/* {{{ proto bool openssl_x509_export_to_file(mixed x509, string outfilename [, bool notext = true])
|
||||
Exports a CERT to file or a var */
|
||||
PHP_FUNCTION(openssl_x509_export_to_file)
|
||||
{
|
||||
@ -718,7 +718,7 @@ PHP_FUNCTION(openssl_x509_export_to_file)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto openssl_x509_export(mixed x509, string &out [, bool notext = true])
|
||||
/* {{{ proto bool openssl_x509_export(mixed x509, string &out [, bool notext = true])
|
||||
Exports a CERT to file or a var */
|
||||
PHP_FUNCTION(openssl_x509_export)
|
||||
{
|
||||
@ -1077,7 +1077,7 @@ PHP_FUNCTION(openssl_x509_read)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto void openssl_free_x509(resource x509)
|
||||
/* {{{ proto void openssl_x509_free(resource x509)
|
||||
Frees X.509 certificates */
|
||||
PHP_FUNCTION(openssl_x509_free)
|
||||
{
|
||||
@ -1285,7 +1285,7 @@ static X509_REQ * php_openssl_csr_from_zval(zval ** val, int makeresource, long
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto openssl_csr_export_to_file(resource csr, string outfilename [, bool notext=true])
|
||||
/* {{{ proto bool openssl_csr_export_to_file(resource csr, string outfilename [, bool notext=true])
|
||||
Exports a CSR to file or a var */
|
||||
PHP_FUNCTION(openssl_csr_export_to_file)
|
||||
{
|
||||
@ -1326,7 +1326,7 @@ PHP_FUNCTION(openssl_csr_export_to_file)
|
||||
|
||||
|
||||
|
||||
/* {{{ proto openssl_csr_export(resource csr, string &out [, bool notext=true])
|
||||
/* {{{ proto bool openssl_csr_export(resource csr, string &out [, bool notext=true])
|
||||
Exports a CSR to file or a var */
|
||||
PHP_FUNCTION(openssl_csr_export)
|
||||
{
|
||||
|
@ -853,6 +853,8 @@ OrbitObject_GetProperty_exit:
|
||||
return success;
|
||||
}
|
||||
|
||||
/* {{{ proto string satellite_object_to_string(object obj)
|
||||
Convert an object to its string representation */
|
||||
PHP_FUNCTION(satellite_object_to_string)
|
||||
{
|
||||
zval **arg = NULL;
|
||||
@ -892,4 +894,4 @@ PHP_FUNCTION(satellite_object_to_string)
|
||||
error:
|
||||
RETURN_NULL();
|
||||
}
|
||||
|
||||
/* }}} */
|
||||
|
@ -136,7 +136,8 @@ PHP_MINFO_FUNCTION(satellite)
|
||||
DISPLAY_INI_ENTRIES();
|
||||
}
|
||||
|
||||
/* instruct the type manager to load an IDL file if not already loaded */
|
||||
/* {{{ proto bool satellite_load_idl(string file)
|
||||
Instruct the type manager to load an IDL file if not already loaded */
|
||||
PHP_FUNCTION(satellite_load_idl)
|
||||
{
|
||||
zval * p_parameter;
|
||||
@ -156,7 +157,10 @@ PHP_FUNCTION(satellite_load_idl)
|
||||
|
||||
RETURN_BOOL(TypeManager_LoadFile(Z_STRVAL_P(p_parameter)));
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto int satellite_get_repository_id(object obj)
|
||||
NOT IMPLEMENTED */
|
||||
/*
|
||||
* NOT IMPLEMENTED
|
||||
*
|
||||
@ -165,6 +169,7 @@ PHP_FUNCTION(satellite_load_idl)
|
||||
PHP_FUNCTION(satellite_get_repository_id)
|
||||
{
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto bool satellite_caught_exception(void)
|
||||
See if an exception was caught from the previous function */
|
||||
@ -172,7 +177,10 @@ PHP_FUNCTION(satellite_caught_exception)
|
||||
{
|
||||
RETURN_BOOL(orbit_caught_exception());
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto string satellite_exception_id(void)
|
||||
Get exception caught from the previous function */
|
||||
PHP_FUNCTION(satellite_exception_id)
|
||||
{
|
||||
CORBA_char * p_id = CORBA_exception_id(orbit_get_environment());
|
||||
@ -181,6 +189,8 @@ PHP_FUNCTION(satellite_exception_id)
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ proto object satellite_exception_value(void)
|
||||
Get the exception struct for the latest exception */
|
||||
/* real name: php_if_orbit_exception_value */
|
||||
PHP_FUNCTION(satellite_exception_value)
|
||||
{
|
||||
@ -201,4 +211,4 @@ PHP_FUNCTION(satellite_exception_value)
|
||||
/* create structure with exception data */
|
||||
orbit_namedvalue_to_zval(&source, return_value);
|
||||
}
|
||||
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user