This repository was archived by the owner on Sep 7, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ class UIWidgetsSystem {
30
30
31
31
void PostTaskToGfxWorker (const fml::closure& task);
32
32
void printf_console (const char * log, ...) {
33
- va_list vl;
33
+ /* va_list vl;
34
34
va_start(vl, log);
35
35
// TODO: error in __android_log_vprint -> vsnprintf -> __vfprintf -> strlen_a
36
36
// unity_uiwidgets_->printf_consolev(log, vl);
37
- va_end (vl);
37
+ va_end(vl);*/
38
38
}
39
39
40
40
void BindUnityInterfaces (IUnityInterfaces* unity_interfaces);
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ class UIWidgetsSystem {
29
29
30
30
void PostTaskToGfxWorker (const fml::closure& task);
31
31
void printf_console (const char * log, ...) {
32
- va_list vl;
32
+ /* va_list vl;
33
33
va_start(vl, log);
34
34
unity_uiwidgets_->printf_consolev(log, vl);
35
- va_end (vl);
35
+ va_end(vl);*/
36
36
}
37
37
38
38
void BindUnityInterfaces (IUnityInterfaces* unity_interfaces);
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ class UIWidgetsSystem {
29
29
30
30
void PostTaskToGfxWorker (const fml::closure& task);
31
31
void printf_console (const char * log, ...) {
32
- va_list vl;
32
+ /* va_list vl;
33
33
va_start(vl, log);
34
34
unity_uiwidgets_->printf_consolev(log, vl);
35
- va_end (vl);
35
+ va_end(vl);*/
36
36
}
37
37
38
38
void BindUnityInterfaces (IUnityInterfaces* unity_interfaces);
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ class UIWidgetsSystem {
29
29
30
30
void PostTaskToGfxWorker (const fml::closure& task);
31
31
void printf_console (const char * log, ...) {
32
- va_list vl;
32
+ /* va_list vl;
33
33
va_start(vl, log);
34
34
unity_uiwidgets_->printf_consolev(log, vl);
35
- va_end (vl);
35
+ va_end(vl);*/
36
36
}
37
37
38
38
void BindUnityInterfaces (IUnityInterfaces* unity_interfaces);
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ UNITY_DECLARE_INTERFACE(IUnityUIWidgets) {
20
20
virtual void SetWakeUpCallback (VoidCallback callback) = 0 ;
21
21
virtual void IssuePluginEventAndData (UnityRenderingEventAndData callback,
22
22
int eventId, void * data) = 0 ;
23
- virtual void printf_consolev (const char * log, va_list alist) = 0 ;
23
+ // TODO zxw: this API is not provided in 2019.4.26f1c1 due to a mistake :(
24
+ // we should consider adding it back later (remember to enable all callers too)
25
+ // virtual void printf_consolev(const char* log, va_list alist) = 0;
24
26
};
25
27
} // namespace UnityUIWidgets
26
28
You can’t perform that action at this time.
0 commit comments