This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
SisMaker
/
eUtils
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
ft: nothing
master
lijie
2 years ago
parent
27208f5ce8
commit
79ce0c9104
2 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
include/utComMisc.hrl
+2
-0
include/utParseStack.hrl
+ 1
- 1
include/utComMisc.hrl
View File
@ -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编码范围
0
x4e00
-
0
x9fa5
+ 2
- 0
include/utParseStack.hrl
View File
@ -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
=
Write
Preview
Loading…
Cancel
Save