Remove proto comments from C files

Closes GH-5758
This commit is contained in:
Max Semenik 2020-07-01 16:32:55 +03:00 committed by Máté Kocsis
parent 4757998650
commit 2b5de6f839
No known key found for this signature in database
GPG key ID: FD055E41728BF310
234 changed files with 3892 additions and 8084 deletions

View file

@ -92,8 +92,7 @@ static PHP_MINIT_FUNCTION(json)
}
/* }}} */
/* {{{ PHP_GINIT_FUNCTION
*/
/* {{{ PHP_GINIT_FUNCTION */
static PHP_GINIT_FUNCTION(json)
{
#if defined(COMPILE_DL_JSON) && defined(ZTS)
@ -106,8 +105,7 @@ static PHP_GINIT_FUNCTION(json)
/* }}} */
/* {{{ json_module_entry
*/
/* {{{ json_module_entry */
zend_module_entry json_module_entry = {
STANDARD_MODULE_HEADER,
"json",
@ -133,8 +131,7 @@ ZEND_TSRMLS_CACHE_DEFINE()
ZEND_GET_MODULE(json)
#endif
/* {{{ PHP_MINFO_FUNCTION
*/
/* {{{ PHP_MINFO_FUNCTION */
static PHP_MINFO_FUNCTION(json)
{
php_info_print_table_start();
@ -216,8 +213,7 @@ PHP_JSON_API int php_json_decode_ex(zval *return_value, const char *str, size_t
}
/* }}} */
/* {{{ proto string json_encode(mixed data [, int options[, int depth]])
Returns the JSON representation of a value */
/* {{{ Returns the JSON representation of a value */
PHP_FUNCTION(json_encode)
{
zval *parameter;
@ -259,8 +255,7 @@ PHP_FUNCTION(json_encode)
}
/* }}} */
/* {{{ proto mixed json_decode(string json [, bool assoc [, int depth]])
Decodes the JSON representation into a PHP value */
/* {{{ Decodes the JSON representation into a PHP value */
PHP_FUNCTION(json_decode)
{
char *str;
@ -314,8 +309,7 @@ PHP_FUNCTION(json_decode)
}
/* }}} */
/* {{{ proto int json_last_error()
Returns the error code of the last json_encode() or json_decode() call. */
/* {{{ Returns the error code of the last json_encode() or json_decode() call. */
PHP_FUNCTION(json_last_error)
{
ZEND_PARSE_PARAMETERS_NONE();
@ -324,8 +318,7 @@ PHP_FUNCTION(json_last_error)
}
/* }}} */
/* {{{ proto string json_last_error_msg()
Returns the error string of the last json_encode() or json_decode() call. */
/* {{{ Returns the error string of the last json_encode() or json_decode() call. */
PHP_FUNCTION(json_last_error_msg)
{
ZEND_PARSE_PARAMETERS_NONE();