Line data Source code
1 : /* This is a generated file, edit the .stub.php file instead.
2 : * Stub hash: 712e7fe097074812a47bc4c96697f1f1a12f2cf3 */
3 :
4 : ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Cairo_Rectangle___construct, 0, 0, 0)
5 : ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, x, IS_DOUBLE, 0, "0")
6 : ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, y, IS_DOUBLE, 0, "0")
7 : ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, width, IS_DOUBLE, 0, "0")
8 : ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, height, IS_DOUBLE, 0, "0")
9 : ZEND_END_ARG_INFO()
10 :
11 : ZEND_METHOD(Cairo_Rectangle, __construct);
12 :
13 : static const zend_function_entry class_Cairo_Rectangle_methods[] = {
14 : ZEND_ME(Cairo_Rectangle, __construct, arginfo_class_Cairo_Rectangle___construct, ZEND_ACC_PUBLIC)
15 : ZEND_FE_END
16 : };
17 :
18 424 : static zend_class_entry *register_class_Cairo_Rectangle(void)
19 : {
20 : zend_class_entry ce, *class_entry;
21 :
22 424 : INIT_NS_CLASS_ENTRY(ce, "Cairo", "Rectangle", class_Cairo_Rectangle_methods);
23 : #if (PHP_VERSION_ID >= 80400)
24 424 : class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
25 : #else
26 : class_entry = zend_register_internal_class_ex(&ce, NULL);
27 : #endif
28 :
29 : zval property_x_default_value;
30 424 : ZVAL_LONG(&property_x_default_value, 0);
31 424 : zend_string *property_x_name = zend_string_init("x", sizeof("x") - 1, 1);
32 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));
33 : zend_string_release(property_x_name);
34 :
35 : zval property_y_default_value;
36 424 : ZVAL_LONG(&property_y_default_value, 0);
37 424 : zend_string *property_y_name = zend_string_init("y", sizeof("y") - 1, 1);
38 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));
39 : zend_string_release(property_y_name);
40 :
41 : zval property_width_default_value;
42 424 : ZVAL_LONG(&property_width_default_value, 0);
43 424 : zend_string *property_width_name = zend_string_init("width", sizeof("width") - 1, 1);
44 424 : zend_declare_typed_property(class_entry, property_width_name, &property_width_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_DOUBLE));
45 : zend_string_release(property_width_name);
46 :
47 : zval property_height_default_value;
48 424 : ZVAL_LONG(&property_height_default_value, 0);
49 424 : zend_string *property_height_name = zend_string_init("height", sizeof("height") - 1, 1);
50 424 : zend_declare_typed_property(class_entry, property_height_name, &property_height_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_DOUBLE));
51 : zend_string_release(property_height_name);
52 :
53 424 : return class_entry;
54 : }
|