📄 v_app.cpp
字号:
// Zinc Application Framework - V_APP.CPP// Copyright (c) 1990-1998 Zinc Software, Inc.// Copyright (c) 1999-2000 Wind River Systems, Inc.#include <zinc/z_app.hpp>#include <zinc/z_error.hpp> // For Beep().#include <taskLib.h>// ----- main ---------------------------------------------------------------int ZafVxWorksMain(void){ // Call the application program. ZafApplication application(0, 0); if (application.Error() == ZAF_ERROR_CONSTRUCTOR) { // The ZafApplication object was not fully constructed. ZafErrorStub::Beep(); return (1); } else return (application.Main());}extern "C"{int testAll(){ jerry_main(); if (taskSpawn("ZAF_HELLO", 90, VX_FP_TASK, ZAF_VXW_STACK_SIZE+99000000, (FUNCPTR)ZafVxWorksMain, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) != ERROR) return (0); else return (-1);}}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -