瀏覽代碼

ft: nothing

master
lijie 2 年之前
父節點
當前提交
79ce0c9104
共有 2 個檔案被更改,包括 3 行新增1 行删除
  1. +1
    -1
      include/utComMisc.hrl
  2. +2
    -0
      include/utParseStack.hrl

+ 1
- 1
include/utComMisc.hrl 查看文件

@ -2,7 +2,7 @@
-define(IIF(Cond, Then, That), case Cond of true -> Then; _ -> That end).
%% IF-DO表达式
-define(IF(IFTure, DoThat), (IFTure) andalso DoThat).
-define(IF(IFTure, DoThat), (IFTure) andalso (DoThat)).
%%unicode编码范围 0x4e00 - 0x9fa5

+ 2
- 0
include/utParseStack.hrl 查看文件

@ -6,6 +6,8 @@
-define(GET_STACK(_), erlang:get_stacktrace()).
-endif.
-define(GSS(Stacktrace), try throw(0) catch _:_:Stacktrace -> Stacktrace end).
%%
-define(PRINT_STACK(Tag),
Stack =

Loading…
取消
儲存