From af7bdaa10ee71a319dc55c3c7556fa43a95c9dc9 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 2 Apr 2019 21:45:33 +0800 Subject: *misc --- source/modules/asura-utils/type.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'source/modules/asura-utils/type.h') diff --git a/source/modules/asura-utils/type.h b/source/modules/asura-utils/type.h index bd09bc4..7f80bfa 100644 --- a/source/modules/asura-utils/type.h +++ b/source/modules/asura-utils/type.h @@ -66,11 +66,6 @@ namespace AsuraEngine #define ASURA_API ASURA_LIBRARY_EXPORT #endif - /// - /// 表明输出和引用参数 - /// -#define ASURA_OUT -#define ASURA_REF /// /// 表明移动指针所有权 /// @@ -82,6 +77,14 @@ namespace AsuraEngine #define ASURA_LITTLE_ENDIAN 1 + //--------------------------------------------------------------------------------// + // 扩展关键字 + +#define asura_throw(ex) throw(ex) // 暗示抛出异常 + +#define asura_out +#define asura_ref + } // namespace AsuraEngine #endif // __ASURA_CONFIG_H__ \ No newline at end of file -- cgit v1.1-26-g67d0