2121
2222static zend_object_handlers listformatter_handlers ;
2323
24- /* {{{ listformatter_free_obj */
2524static void listformatter_free_obj (zend_object * object )
2625{
2726 ListFormatter_object * obj = php_intl_listformatter_fetch_object (object );
@@ -34,9 +33,7 @@ static void listformatter_free_obj(zend_object *object)
3433
3534 zend_object_std_dtor (& obj -> zo );
3635}
37- /* }}} */
3836
39- /* {{{ listformatter_create_object */
4037static zend_object * listformatter_create_object (zend_class_entry * class_type )
4138{
4239 ListFormatter_object * obj ;
@@ -50,9 +47,7 @@ static zend_object *listformatter_create_object(zend_class_entry *class_type)
5047 obj -> zo .handlers = & listformatter_handlers ;
5148 return & obj -> zo ;
5249}
53- /* }}} */
5450
55- /* {{{ listformatter_create_object */
5651PHP_METHOD (IntlListFormatter , __construct )
5752{
5853 ListFormatter_object * obj = Z_INTL_LISTFORMATTER_P (ZEND_THIS );
@@ -114,9 +109,7 @@ PHP_METHOD(IntlListFormatter, __construct)
114109 RETURN_THROWS ();
115110 }
116111}
117- /* }}} */
118112
119- /* {{{ listformatter_format */
120113PHP_METHOD (IntlListFormatter , format )
121114{
122115 ListFormatter_object * obj = Z_INTL_LISTFORMATTER_P (ZEND_THIS );
@@ -215,9 +208,7 @@ PHP_METHOD(IntlListFormatter, format)
215208 efree (items );
216209 efree (itemLengths );
217210}
218- /* }}} */
219211
220- /* {{{ listformatter_getErrorCode */
221212PHP_METHOD (IntlListFormatter , getErrorCode )
222213{
223214 ZEND_PARSE_PARAMETERS_NONE ();
@@ -228,9 +219,7 @@ PHP_METHOD(IntlListFormatter, getErrorCode)
228219
229220 RETURN_LONG (status );
230221}
231- /* }}} */
232222
233- /* {{{ listformatter_getErrorMessage */
234223PHP_METHOD (IntlListFormatter , getErrorMessage )
235224{
236225 ZEND_PARSE_PARAMETERS_NONE ();
@@ -240,9 +229,7 @@ PHP_METHOD(IntlListFormatter, getErrorMessage)
240229 zend_string * message = intl_error_get_message (LISTFORMATTER_ERROR_P (obj ));
241230 RETURN_STR (message );
242231}
243- /* }}} */
244232
245- /* {{{ listformatter_register_class */
246233void listformatter_register_class (void )
247234{
248235 zend_class_entry * class_entry = register_class_IntlListFormatter ();
@@ -252,4 +239,3 @@ void listformatter_register_class(void)
252239 listformatter_handlers .offset = XtOffsetOf (ListFormatter_object , zo );
253240 listformatter_handlers .free_obj = listformatter_free_obj ;
254241}
255- /* }}} */
0 commit comments