LCOV - code coverage report
Current view: top level - src - text_cluster_arginfo.h (source / functions) Coverage Total Hit
Test: PHP Cairo Extension Coverage Lines: 100.0 % 10 10
Test Date: 2025-09-10 21:28:33 Functions: 100.0 % 1 1

            Line data    Source code
       1              : /* This is a generated file, edit the .stub.php file instead.
       2              :  * Stub hash: bb125598928ab30247e010e4a9dfdfd325be6f07 */
       3              : 
       4              : ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Cairo_TextCluster___construct, 0, 0, 2)
       5              :     ZEND_ARG_TYPE_INFO(0, num_bytes, IS_LONG, 0)
       6              :     ZEND_ARG_TYPE_INFO(0, num_glyphs, IS_LONG, 0)
       7              : ZEND_END_ARG_INFO()
       8              : 
       9              : ZEND_METHOD(Cairo_TextCluster, __construct);
      10              : 
      11              : static const zend_function_entry class_Cairo_TextCluster_methods[] = {
      12              :     ZEND_ME(Cairo_TextCluster, __construct, arginfo_class_Cairo_TextCluster___construct, ZEND_ACC_PUBLIC)
      13              :     ZEND_FE_END
      14              : };
      15              : 
      16          424 : static zend_class_entry *register_class_Cairo_TextCluster(void)
      17              : {
      18              :     zend_class_entry ce, *class_entry;
      19              : 
      20          424 :     INIT_NS_CLASS_ENTRY(ce, "Cairo", "TextCluster", class_Cairo_TextCluster_methods);
      21              : #if (PHP_VERSION_ID >= 80400)
      22          424 :     class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL);
      23              : #else
      24              :     class_entry = zend_register_internal_class_ex(&ce, NULL);
      25              :     class_entry->ce_flags |= ZEND_ACC_FINAL;
      26              : #endif
      27              : 
      28              :     zval property_num_bytes_default_value;
      29          424 :     ZVAL_LONG(&property_num_bytes_default_value, 0);
      30          424 :     zend_string *property_num_bytes_name = zend_string_init("num_bytes", sizeof("num_bytes") - 1, 1);
      31          424 :     zend_declare_typed_property(class_entry, property_num_bytes_name, &property_num_bytes_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
      32              :     zend_string_release(property_num_bytes_name);
      33              : 
      34              :     zval property_num_glyphs_default_value;
      35          424 :     ZVAL_LONG(&property_num_glyphs_default_value, 0);
      36          424 :     zend_string *property_num_glyphs_name = zend_string_init("num_glyphs", sizeof("num_glyphs") - 1, 1);
      37          424 :     zend_declare_typed_property(class_entry, property_num_glyphs_name, &property_num_glyphs_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
      38              :     zend_string_release(property_num_glyphs_name);
      39              : 
      40          424 :     return class_entry;
      41              : }
        

Generated by: LCOV version 2.0-1