浏览代码

ox short namespace

[email protected] 7 年之前
父节点
当前提交
fb04c70635
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      oxygine/src/oxygine/oxygine-include.h

+ 1 - 0
oxygine/src/oxygine/oxygine-include.h

@@ -89,6 +89,7 @@ void emscStackTrace();
 #endif
 #endif
 
 
 namespace oxygine { namespace logs { void error(const char* format, ...); } }
 namespace oxygine { namespace logs { void error(const char* format, ...); } }
+namespace ox = oxygine;
 
 
 #define OX_LOG_ERROR(x)     if (!(x)) {oxygine::logs::error("Assert! %s in %s:%d", #x, __FILE__, __LINE__);}
 #define OX_LOG_ERROR(x)     if (!(x)) {oxygine::logs::error("Assert! %s in %s:%d", #x, __FILE__, __LINE__);}