浏览代码

temporary fix: printf_consolev API is not added to 2019.4.26f1c1 yet, therefore we have to disable this api by now to avoid blocking the editor release procedure

/main
Xingwei Zhu 4 年前
当前提交
6f03e5ab
共有 5 个文件被更改,包括 11 次插入9 次删除
  1. 4
      engine/src/shell/platform/unity/android/uiwidgets_system.h
  2. 4
      engine/src/shell/platform/unity/darwin/ios/uiwidgets_system.h
  3. 4
      engine/src/shell/platform/unity/darwin/macos/uiwidgets_system.h
  4. 4
      engine/src/shell/platform/unity/windows/uiwidgets_system.h
  5. 4
      engine/third_party/Unity/IUnityUIWidgets.h

4
engine/src/shell/platform/unity/android/uiwidgets_system.h


void PostTaskToGfxWorker(const fml::closure& task);
void printf_console(const char* log, ...) {
va_list vl;
/*va_list vl;
va_end(vl);
va_end(vl);*/
}
void BindUnityInterfaces(IUnityInterfaces* unity_interfaces);

4
engine/src/shell/platform/unity/darwin/ios/uiwidgets_system.h


void PostTaskToGfxWorker(const fml::closure& task);
void printf_console(const char* log, ...) {
va_list vl;
/*va_list vl;
va_end(vl);
va_end(vl);*/
}
void BindUnityInterfaces(IUnityInterfaces* unity_interfaces);

4
engine/src/shell/platform/unity/darwin/macos/uiwidgets_system.h


void PostTaskToGfxWorker(const fml::closure& task);
void printf_console(const char* log, ...) {
va_list vl;
/*va_list vl;
va_end(vl);
va_end(vl);*/
}
void BindUnityInterfaces(IUnityInterfaces* unity_interfaces);

4
engine/src/shell/platform/unity/windows/uiwidgets_system.h


void PostTaskToGfxWorker(const fml::closure& task);
void printf_console(const char* log, ...) {
va_list vl;
/*va_list vl;
va_end(vl);
va_end(vl);*/
}
void BindUnityInterfaces(IUnityInterfaces* unity_interfaces);

4
engine/third_party/Unity/IUnityUIWidgets.h


virtual void SetWakeUpCallback(VoidCallback callback) = 0;
virtual void IssuePluginEventAndData(UnityRenderingEventAndData callback,
int eventId, void* data) = 0;
virtual void printf_consolev(const char* log, va_list alist) = 0;
//TODO zxw: this API is not provided in 2019.4.26f1c1 due to a mistake :(
//we should consider adding it back later (remember to enable all callers too)
//virtual void printf_consolev(const char* log, va_list alist) = 0;
};
} // namespace UnityUIWidgets

正在加载...
取消
保存