Line data Source code
1 : /* This is a generated file, edit the .stub.php file instead.
2 : * Stub hash: 4a5024f39563f96c88b68b67bc01a010cb5eb8b5 */
3 :
4 424 : static zend_class_entry *register_class_Cairo_Path(void)
5 : {
6 : zend_class_entry ce, *class_entry;
7 :
8 424 : INIT_NS_CLASS_ENTRY(ce, "Cairo", "Path", NULL);
9 : #if (PHP_VERSION_ID >= 80400)
10 424 : class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0);
11 : #else
12 : class_entry = zend_register_internal_class_ex(&ce, NULL);
13 : #endif
14 :
15 424 : return class_entry;
16 : }
17 :
18 424 : static zend_class_entry *register_class_Cairo_Path_DataType(void)
19 : {
20 424 : zend_class_entry *class_entry = zend_register_internal_enum("Cairo\\Path\\DataType", IS_LONG, NULL);
21 :
22 : zval enum_case_MoveTo_value;
23 424 : ZVAL_LONG(&enum_case_MoveTo_value, CAIRO_PATH_MOVE_TO);
24 424 : zend_enum_add_case_cstr(class_entry, "MoveTo", &enum_case_MoveTo_value);
25 :
26 : zval enum_case_LineTo_value;
27 424 : ZVAL_LONG(&enum_case_LineTo_value, CAIRO_PATH_LINE_TO);
28 424 : zend_enum_add_case_cstr(class_entry, "LineTo", &enum_case_LineTo_value);
29 :
30 : zval enum_case_CurveTo_value;
31 424 : ZVAL_LONG(&enum_case_CurveTo_value, CAIRO_PATH_CURVE_TO);
32 424 : zend_enum_add_case_cstr(class_entry, "CurveTo", &enum_case_CurveTo_value);
33 :
34 : zval enum_case_ClosePath_value;
35 424 : ZVAL_LONG(&enum_case_ClosePath_value, CAIRO_PATH_CLOSE_PATH);
36 424 : zend_enum_add_case_cstr(class_entry, "ClosePath", &enum_case_ClosePath_value);
37 :
38 424 : return class_entry;
39 : }
|