-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebview_arginfo.h
More file actions
199 lines (153 loc) · 8.56 KB
/
webview_arginfo.h
File metadata and controls
199 lines (153 loc) · 8.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: f8896b444502ddc29dac495a0764a366e476baff */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Webview_Webview___construct, 0, 0, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, debug, _IS_BOOL, 0, "false")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Webview_Webview___destruct, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_run, 0, 0, IS_VOID, 0)
ZEND_END_ARG_INFO()
#define arginfo_class_Webview_Webview_terminate arginfo_class_Webview_Webview_run
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_setTitle, 0, 1, IS_VOID, 0)
ZEND_ARG_TYPE_INFO(0, title, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_setSize, 0, 2, IS_VOID, 0)
ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0)
ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, hint, Webview\\WebviewHint, 0, "Webview\\WebviewHint::NONE")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_navigate, 0, 1, IS_VOID, 0)
ZEND_ARG_TYPE_INFO(0, url, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_setHtml, 0, 1, IS_VOID, 0)
ZEND_ARG_TYPE_INFO(0, html, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_init, 0, 1, IS_VOID, 0)
ZEND_ARG_TYPE_INFO(0, js, IS_STRING, 0)
ZEND_END_ARG_INFO()
#define arginfo_class_Webview_Webview_eval arginfo_class_Webview_Webview_init
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_bind, 0, 2, IS_VOID, 0)
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_unbind, 0, 1, IS_VOID, 0)
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_return, 0, 3, IS_VOID, 0)
ZEND_ARG_TYPE_INFO(0, id, IS_STRING, 0)
ZEND_ARG_TYPE_INFO(0, status, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, result, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_dispatch, 0, 1, IS_VOID, 0)
ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
ZEND_END_ARG_INFO()
#define arginfo_class_Webview_Webview_maximize arginfo_class_Webview_Webview_run
#define arginfo_class_Webview_Webview_minimize arginfo_class_Webview_Webview_run
#define arginfo_class_Webview_Webview_unmaximize arginfo_class_Webview_Webview_run
#define arginfo_class_Webview_Webview_unminimize arginfo_class_Webview_Webview_run
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_fullscreen, 0, 0, IS_VOID, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enable, _IS_BOOL, 0, "true")
ZEND_END_ARG_INFO()
#define arginfo_class_Webview_Webview_hide arginfo_class_Webview_Webview_run
#define arginfo_class_Webview_Webview_show arginfo_class_Webview_Webview_run
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_isFullscreen, 0, 0, _IS_BOOL, 0)
ZEND_END_ARG_INFO()
#define arginfo_class_Webview_Webview_isMaximized arginfo_class_Webview_Webview_isFullscreen
#define arginfo_class_Webview_Webview_isMinimized arginfo_class_Webview_Webview_isFullscreen
#define arginfo_class_Webview_Webview_isVisible arginfo_class_Webview_Webview_isFullscreen
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Webview_Webview_version, 0, 0, IS_ARRAY, 0)
ZEND_END_ARG_INFO()
ZEND_METHOD(Webview_Webview, __construct);
ZEND_METHOD(Webview_Webview, __destruct);
ZEND_METHOD(Webview_Webview, run);
ZEND_METHOD(Webview_Webview, terminate);
ZEND_METHOD(Webview_Webview, setTitle);
ZEND_METHOD(Webview_Webview, setSize);
ZEND_METHOD(Webview_Webview, navigate);
ZEND_METHOD(Webview_Webview, setHtml);
ZEND_METHOD(Webview_Webview, init);
ZEND_METHOD(Webview_Webview, eval);
ZEND_METHOD(Webview_Webview, bind);
ZEND_METHOD(Webview_Webview, unbind);
ZEND_METHOD(Webview_Webview, return);
ZEND_METHOD(Webview_Webview, dispatch);
ZEND_METHOD(Webview_Webview, maximize);
ZEND_METHOD(Webview_Webview, minimize);
ZEND_METHOD(Webview_Webview, unmaximize);
ZEND_METHOD(Webview_Webview, unminimize);
ZEND_METHOD(Webview_Webview, fullscreen);
ZEND_METHOD(Webview_Webview, hide);
ZEND_METHOD(Webview_Webview, show);
ZEND_METHOD(Webview_Webview, isFullscreen);
ZEND_METHOD(Webview_Webview, isMaximized);
ZEND_METHOD(Webview_Webview, isMinimized);
ZEND_METHOD(Webview_Webview, isVisible);
ZEND_METHOD(Webview_Webview, version);
static const zend_function_entry class_Webview_WebviewException_methods[] = {
ZEND_FE_END
};
static const zend_function_entry class_Webview_WebviewHint_methods[] = {
ZEND_FE_END
};
static const zend_function_entry class_Webview_Webview_methods[] = {
ZEND_ME(Webview_Webview, __construct, arginfo_class_Webview_Webview___construct, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, __destruct, arginfo_class_Webview_Webview___destruct, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, run, arginfo_class_Webview_Webview_run, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, terminate, arginfo_class_Webview_Webview_terminate, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, setTitle, arginfo_class_Webview_Webview_setTitle, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, setSize, arginfo_class_Webview_Webview_setSize, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, navigate, arginfo_class_Webview_Webview_navigate, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, setHtml, arginfo_class_Webview_Webview_setHtml, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, init, arginfo_class_Webview_Webview_init, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, eval, arginfo_class_Webview_Webview_eval, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, bind, arginfo_class_Webview_Webview_bind, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, unbind, arginfo_class_Webview_Webview_unbind, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, return, arginfo_class_Webview_Webview_return, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, dispatch, arginfo_class_Webview_Webview_dispatch, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, maximize, arginfo_class_Webview_Webview_maximize, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, minimize, arginfo_class_Webview_Webview_minimize, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, unmaximize, arginfo_class_Webview_Webview_unmaximize, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, unminimize, arginfo_class_Webview_Webview_unminimize, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, fullscreen, arginfo_class_Webview_Webview_fullscreen, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, hide, arginfo_class_Webview_Webview_hide, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, show, arginfo_class_Webview_Webview_show, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, isFullscreen, arginfo_class_Webview_Webview_isFullscreen, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, isMaximized, arginfo_class_Webview_Webview_isMaximized, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, isMinimized, arginfo_class_Webview_Webview_isMinimized, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, isVisible, arginfo_class_Webview_Webview_isVisible, ZEND_ACC_PUBLIC)
ZEND_ME(Webview_Webview, version, arginfo_class_Webview_Webview_version, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
ZEND_FE_END
};
static zend_class_entry *register_class_Webview_WebviewException(zend_class_entry *class_entry_Exception)
{
zend_class_entry ce, *class_entry;
INIT_NS_CLASS_ENTRY(ce, "Webview", "WebviewException", class_Webview_WebviewException_methods);
class_entry = zend_register_internal_class_ex(&ce, class_entry_Exception);
class_entry->ce_flags |= ZEND_ACC_FINAL;
return class_entry;
}
static zend_class_entry *register_class_Webview_WebviewHint(void)
{
zend_class_entry *class_entry = zend_register_internal_enum("Webview\\WebviewHint", IS_LONG, class_Webview_WebviewHint_methods);
zval enum_case_NONE_value;
ZVAL_LONG(&enum_case_NONE_value, 0);
zend_enum_add_case_cstr(class_entry, "NONE", &enum_case_NONE_value);
zval enum_case_MIN_value;
ZVAL_LONG(&enum_case_MIN_value, 1);
zend_enum_add_case_cstr(class_entry, "MIN", &enum_case_MIN_value);
zval enum_case_MAX_value;
ZVAL_LONG(&enum_case_MAX_value, 2);
zend_enum_add_case_cstr(class_entry, "MAX", &enum_case_MAX_value);
zval enum_case_FIXED_value;
ZVAL_LONG(&enum_case_FIXED_value, 3);
zend_enum_add_case_cstr(class_entry, "FIXED", &enum_case_FIXED_value);
return class_entry;
}
static zend_class_entry *register_class_Webview_Webview(void)
{
zend_class_entry ce, *class_entry;
INIT_NS_CLASS_ENTRY(ce, "Webview", "Webview", class_Webview_Webview_methods);
class_entry = zend_register_internal_class_ex(&ce, NULL);
class_entry->ce_flags |= ZEND_ACC_FINAL;
return class_entry;
}