XWOS API
4.0
XWOS C/C++ API参考手册
|
XWOS的标准头文件 更多...
#include <cfg/project.h>
#include <xwos/lib/rule.h>
#include <xwos/lib/compiler.h>
#include <xwos/version.h>
#include <xwos/lib/type.h>
#include <xwos/lib/error.h>
#include <xwos/ospl/soc/isa.h>
#include <xwos/lib/mb.h>
宏定义 | |
#define | interface struct |
接口 | |
#define | xw_array_size(ay) (sizeof(ay) / sizeof((ay)[0])) |
获取结构体数组中结构体的个数 | |
#define | XWOS_BUG() soc_bug() |
#define | XWOS_BUG_ON(x) if (x) XWOS_BUG() |
#define | XWOS_LOOP_ON(x) do {} while (x) |
#define | XWOS_UNUSED_ARGUMENT 0 |
#define | XWOS_UNUSED(x) ((void)(x)) |
#define | XWOS_VALIDATE(exp, errstr, ...) |
检查函数参数是否有效 | |
#define | XWOS_PTRSIZE 4 |
XWOS的标准头文件
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
在文件 standard.h 中定义.