LCOV - code coverage report
Current view: top level - src - glyph_arginfo.h (source / functions) Coverage Total Hit
Test: PHP Cairo Extension Coverage Lines: 100.0 % 13 13
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: 73a8fb1f37e5b3c825a531363bc65b6fd0e2f359 */
       3              : 
       4              : ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Cairo_Glyph___construct, 0, 0, 1)
       5              :     ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
       6              :     ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, x, IS_DOUBLE, 0, "0.0")
       7              :     ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, y, IS_DOUBLE, 0, "0.0")
       8              : ZEND_END_ARG_INFO()
       9              : 
      10              : ZEND_METHOD(Cairo_Glyph, __construct);
      11              : 
      12              : static const zend_function_entry class_Cairo_Glyph_methods[] = {
      13              :     ZEND_ME(Cairo_Glyph, __construct, arginfo_class_Cairo_Glyph___construct, ZEND_ACC_PUBLIC)
      14              :     ZEND_FE_END
      15              : };
      16              : 
      17          424 : static zend_class_entry *register_class_Cairo_Glyph(void)
      18              : {
      19              :     zend_class_entry ce, *class_entry;
      20              : 
      21          424 :     INIT_NS_CLASS_ENTRY(ce, "Cairo", "Glyph", class_Cairo_Glyph_methods);
      22              : #if (PHP_VERSION_ID >= 80400)
      23          424 :     class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL);
      24              : #else
      25              :     class_entry = zend_register_internal_class_ex(&ce, NULL);
      26              :     class_entry->ce_flags |= ZEND_ACC_FINAL;
      27              : #endif
      28              : 
      29              :     zval property_index_default_value;
      30          424 :     ZVAL_LONG(&property_index_default_value, 0);
      31          424 :     zend_string *property_index_name = zend_string_init("index", sizeof("index") - 1, 1);
      32          424 :     zend_declare_typed_property(class_entry, property_index_name, &property_index_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
      33              :     zend_string_release(property_index_name);
      34              : 
      35              :     zval property_x_default_value;
      36          424 :     ZVAL_DOUBLE(&property_x_default_value, 0.0);
      37          424 :     zend_string *property_x_name = zend_string_init("x", sizeof("x") - 1, 1);
      38          424 :     zend_declare_typed_property(class_entry, property_x_name, &property_x_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_DOUBLE));
      39              :     zend_string_release(property_x_name);
      40              : 
      41              :     zval property_y_default_value;
      42          424 :     ZVAL_DOUBLE(&property_y_default_value, 0.0);
      43          424 :     zend_string *property_y_name = zend_string_init("y", sizeof("y") - 1, 1);
      44          424 :     zend_declare_typed_property(class_entry, property_y_name, &property_y_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_DOUBLE));
      45              :     zend_string_release(property_y_name);
      46              : 
      47          424 :     return class_entry;
      48              : }
        

Generated by: LCOV version 2.0-1