1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: d14d30fb232f08da37ba0df0b9186eb8bac5e1a4 */
3
4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_COMPersistHelper___construct, 0, 0, 0)
5 ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, variant, variant, 1, "null")
6 ZEND_END_ARG_INFO()
7
8 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_COMPersistHelper_GetCurFileName, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
9 ZEND_END_ARG_INFO()
10
11 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_COMPersistHelper_SaveToFile, 0, 1, _IS_BOOL, 0)
12 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 1)
13 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, remember, _IS_BOOL, 0, "true")
14 ZEND_END_ARG_INFO()
15
16 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_COMPersistHelper_LoadFromFile, 0, 1, _IS_BOOL, 0)
17 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
18 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
19 ZEND_END_ARG_INFO()
20
21 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_COMPersistHelper_GetMaxStreamSize, 0, 0, IS_LONG, 0)
22 ZEND_END_ARG_INFO()
23
24 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_COMPersistHelper_InitNew, 0, 0, _IS_BOOL, 0)
25 ZEND_END_ARG_INFO()
26
27 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_COMPersistHelper_LoadFromStream, 0, 1, _IS_BOOL, 0)
28 ZEND_ARG_INFO(0, stream)
29 ZEND_END_ARG_INFO()
30
31 #define arginfo_class_COMPersistHelper_SaveToStream arginfo_class_COMPersistHelper_LoadFromStream
32
33
34 ZEND_METHOD(COMPersistHelper, __construct);
35 ZEND_METHOD(COMPersistHelper, GetCurFileName);
36 ZEND_METHOD(COMPersistHelper, SaveToFile);
37 ZEND_METHOD(COMPersistHelper, LoadFromFile);
38 ZEND_METHOD(COMPersistHelper, GetMaxStreamSize);
39 ZEND_METHOD(COMPersistHelper, InitNew);
40 ZEND_METHOD(COMPersistHelper, LoadFromStream);
41 ZEND_METHOD(COMPersistHelper, SaveToStream);
42
43
44 static const zend_function_entry class_COMPersistHelper_methods[] = {
45 ZEND_ME(COMPersistHelper, __construct, arginfo_class_COMPersistHelper___construct, ZEND_ACC_PUBLIC)
46 ZEND_ME(COMPersistHelper, GetCurFileName, arginfo_class_COMPersistHelper_GetCurFileName, ZEND_ACC_PUBLIC)
47 ZEND_ME(COMPersistHelper, SaveToFile, arginfo_class_COMPersistHelper_SaveToFile, ZEND_ACC_PUBLIC)
48 ZEND_ME(COMPersistHelper, LoadFromFile, arginfo_class_COMPersistHelper_LoadFromFile, ZEND_ACC_PUBLIC)
49 ZEND_ME(COMPersistHelper, GetMaxStreamSize, arginfo_class_COMPersistHelper_GetMaxStreamSize, ZEND_ACC_PUBLIC)
50 ZEND_ME(COMPersistHelper, InitNew, arginfo_class_COMPersistHelper_InitNew, ZEND_ACC_PUBLIC)
51 ZEND_ME(COMPersistHelper, LoadFromStream, arginfo_class_COMPersistHelper_LoadFromStream, ZEND_ACC_PUBLIC)
52 ZEND_ME(COMPersistHelper, SaveToStream, arginfo_class_COMPersistHelper_SaveToStream, ZEND_ACC_PUBLIC)
53 ZEND_FE_END
54 };
55
register_class_COMPersistHelper(void)56 static zend_class_entry *register_class_COMPersistHelper(void)
57 {
58 zend_class_entry ce, *class_entry;
59
60 INIT_CLASS_ENTRY(ce, "COMPersistHelper", class_COMPersistHelper_methods);
61 class_entry = zend_register_internal_class_ex(&ce, NULL);
62 class_entry->ce_flags |= ZEND_ACC_FINAL;
63
64 return class_entry;
65 }
66