Skip to content

Commit 8c0fd5b

Browse files
author
Hartmut Holzgraefe
committed
proto fixes
1 parent ec1b89a commit 8c0fd5b

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

ext/xml/xml.c

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ void _xml_endNamespaceDeclHandler(void *userData, const XML_Char *prefix)
999999

10001000
/************************* EXTENSION FUNCTIONS *************************/
10011001

1002-
/* {{{ proto int xml_parser_create([string encoding])
1002+
/* {{{ proto resource xml_parser_create([string encoding])
10031003
Create an XML parser */
10041004
PHP_FUNCTION(xml_parser_create)
10051005
{
@@ -1050,7 +1050,7 @@ PHP_FUNCTION(xml_parser_create)
10501050
}
10511051
/* }}} */
10521052

1053-
/* {{{ proto int xml_parser_create_ns([string encoding [, string sep]])
1053+
/* {{{ proto resource xml_parser_create_ns([string encoding [, string sep]])
10541054
Create an XML parser */
10551055
PHP_FUNCTION(xml_parser_create_ns)
10561056
{
@@ -1108,7 +1108,7 @@ PHP_FUNCTION(xml_parser_create_ns)
11081108
}
11091109
/* }}} */
11101110

1111-
/* {{{ proto int xml_set_object(int pind, object &obj)
1111+
/* {{{ proto int xml_set_object(resource parser, object &obj)
11121112
Set up object which should be used for callbacks */
11131113
PHP_FUNCTION(xml_set_object)
11141114
{
@@ -1145,7 +1145,7 @@ PHP_FUNCTION(xml_set_object)
11451145
}
11461146
/* }}} */
11471147

1148-
/* {{{ proto int xml_set_element_handler(int pind, string shdl, string ehdl)
1148+
/* {{{ proto int xml_set_element_handler(resource parser, string shdl, string ehdl)
11491149
Set up start and end element handlers */
11501150
PHP_FUNCTION(xml_set_element_handler)
11511151
{
@@ -1166,7 +1166,7 @@ PHP_FUNCTION(xml_set_element_handler)
11661166
}
11671167
/* }}} */
11681168

1169-
/* {{{ proto int xml_set_character_data_handler(int pind, string hdl)
1169+
/* {{{ proto int xml_set_character_data_handler(resource parser, string hdl)
11701170
Set up character data handler */
11711171
PHP_FUNCTION(xml_set_character_data_handler)
11721172
{
@@ -1185,7 +1185,7 @@ PHP_FUNCTION(xml_set_character_data_handler)
11851185
}
11861186
/* }}} */
11871187

1188-
/* {{{ proto int xml_set_processing_instruction_handler(int pind, string hdl)
1188+
/* {{{ proto int xml_set_processing_instruction_handler(resource parser, string hdl)
11891189
Set up processing instruction (PI) handler */
11901190
PHP_FUNCTION(xml_set_processing_instruction_handler)
11911191
{
@@ -1204,7 +1204,7 @@ PHP_FUNCTION(xml_set_processing_instruction_handler)
12041204
}
12051205
/* }}} */
12061206

1207-
/* {{{ proto int xml_set_default_handler(int pind, string hdl)
1207+
/* {{{ proto int xml_set_default_handler(resource parser, string hdl)
12081208
Set up default handler */
12091209
PHP_FUNCTION(xml_set_default_handler)
12101210
{
@@ -1222,7 +1222,7 @@ PHP_FUNCTION(xml_set_default_handler)
12221222
}
12231223
/* }}} */
12241224

1225-
/* {{{ proto int xml_set_unparsed_entity_decl_handler(int pind, string hdl)
1225+
/* {{{ proto int xml_set_unparsed_entity_decl_handler(resource parser, string hdl)
12261226
Set up unparsed entity declaration handler */
12271227
PHP_FUNCTION(xml_set_unparsed_entity_decl_handler)
12281228
{
@@ -1241,7 +1241,7 @@ PHP_FUNCTION(xml_set_unparsed_entity_decl_handler)
12411241
}
12421242
/* }}} */
12431243

1244-
/* {{{ proto int xml_set_notation_decl_handler(int pind, string hdl)
1244+
/* {{{ proto int xml_set_notation_decl_handler(resource parser, string hdl)
12451245
Set up notation declaration handler */
12461246
PHP_FUNCTION(xml_set_notation_decl_handler)
12471247
{
@@ -1259,7 +1259,7 @@ PHP_FUNCTION(xml_set_notation_decl_handler)
12591259
}
12601260
/* }}} */
12611261

1262-
/* {{{ proto int xml_set_external_entity_ref_handler(int pind, string hdl)
1262+
/* {{{ proto int xml_set_external_entity_ref_handler(resource parser, string hdl)
12631263
Set up external entity reference handler */
12641264
PHP_FUNCTION(xml_set_external_entity_ref_handler)
12651265
{
@@ -1277,7 +1277,7 @@ PHP_FUNCTION(xml_set_external_entity_ref_handler)
12771277
}
12781278
/* }}} */
12791279

1280-
/* {{{ proto int xml_set_start_namespace_decl_handler(int pind, string hdl)
1280+
/* {{{ proto int xml_set_start_namespace_decl_handler(resource parser, string hdl)
12811281
Set up character data handler */
12821282
PHP_FUNCTION(xml_set_start_namespace_decl_handler)
12831283
{
@@ -1296,7 +1296,7 @@ PHP_FUNCTION(xml_set_start_namespace_decl_handler)
12961296
}
12971297
/* }}} */
12981298

1299-
/* {{{ proto int xml_set_end_namespace_decl_handler(int pind, string hdl)
1299+
/* {{{ proto int xml_set_end_namespace_decl_handler(resource parser, string hdl)
13001300
Set up character data handler */
13011301
PHP_FUNCTION(xml_set_end_namespace_decl_handler)
13021302
{
@@ -1315,7 +1315,7 @@ PHP_FUNCTION(xml_set_end_namespace_decl_handler)
13151315
}
13161316
/* }}} */
13171317

1318-
/* {{{ proto int xml_parse(int pind, string data [, int isFinal])
1318+
/* {{{ proto int xml_parse(resource parser, string data [, int isFinal])
13191319
Start parsing an XML document */
13201320
PHP_FUNCTION(xml_parse)
13211321
{
@@ -1344,7 +1344,7 @@ PHP_FUNCTION(xml_parse)
13441344

13451345
/* }}} */
13461346

1347-
/* {{{ proto int xml_parse_into_struct(int pind, string data, array &struct, array &index)
1347+
/* {{{ proto int xml_parse_into_struct(resource parser, string data, array &struct, array &index)
13481348
Parsing a XML document */
13491349

13501350
PHP_FUNCTION(xml_parse_into_struct)
@@ -1383,7 +1383,7 @@ PHP_FUNCTION(xml_parse_into_struct)
13831383
}
13841384
/* }}} */
13851385

1386-
/* {{{ proto int xml_get_error_code(int pind)
1386+
/* {{{ proto int xml_get_error_code(resource parser)
13871387
Get XML parser error code */
13881388
PHP_FUNCTION(xml_get_error_code)
13891389
{
@@ -1417,7 +1417,7 @@ PHP_FUNCTION(xml_error_string)
14171417
}
14181418
/* }}} */
14191419

1420-
/* {{{ proto int xml_get_current_line_number(int pind)
1420+
/* {{{ proto int xml_get_current_line_number(resource parser)
14211421
Get current line number for an XML parser */
14221422
PHP_FUNCTION(xml_get_current_line_number)
14231423
{
@@ -1433,7 +1433,7 @@ PHP_FUNCTION(xml_get_current_line_number)
14331433
}
14341434
/* }}} */
14351435

1436-
/* {{{ proto int xml_get_current_column_number(int pind)
1436+
/* {{{ proto int xml_get_current_column_number(resource parser)
14371437
Get current column number for an XML parser */
14381438
PHP_FUNCTION(xml_get_current_column_number)
14391439
{
@@ -1449,7 +1449,7 @@ PHP_FUNCTION(xml_get_current_column_number)
14491449
}
14501450
/* }}} */
14511451

1452-
/* {{{ proto int xml_get_current_byte_index(int pind)
1452+
/* {{{ proto int xml_get_current_byte_index(resource parser)
14531453
Get current byte index for an XML parser */
14541454
PHP_FUNCTION(xml_get_current_byte_index)
14551455
{
@@ -1465,7 +1465,7 @@ PHP_FUNCTION(xml_get_current_byte_index)
14651465
}
14661466
/* }}} */
14671467

1468-
/* {{{ proto int xml_parser_free(int pind)
1468+
/* {{{ proto int xml_parser_free(resource parser)
14691469
Free an XML parser */
14701470
PHP_FUNCTION(xml_parser_free)
14711471
{
@@ -1486,7 +1486,7 @@ PHP_FUNCTION(xml_parser_free)
14861486
}
14871487
/* }}} */
14881488

1489-
/* {{{ proto int xml_parser_set_option(int pind, int option, mixed value)
1489+
/* {{{ proto int xml_parser_set_option(resource parser, int option, mixed value)
14901490
Set options in an XML parser */
14911491
PHP_FUNCTION(xml_parser_set_option)
14921492
{
@@ -1535,7 +1535,7 @@ PHP_FUNCTION(xml_parser_set_option)
15351535
}
15361536
/* }}} */
15371537

1538-
/* {{{ proto int xml_parser_get_option(int pind, int option)
1538+
/* {{{ proto int xml_parser_get_option(resource parser, int option)
15391539
Get options from an XML parser */
15401540
PHP_FUNCTION(xml_parser_get_option)
15411541
{

0 commit comments

Comments
 (0)