[go: up one dir, main page]

Menu

[r1]: / trunk / include / common.hrl  Maximize  Restore  History

Download this file

10 lines (7 with data), 209 Bytes

1
2
3
4
5
6
7
8
% define macros and options common to all erl programs
% provides debugging macros
-ifdef(debug).
-define(DBUG(X), io:format("DEBUG ~p:~p ~p~n", [?MODULE, ?LINE, X])).
-else.
-define(DBUG(X), void).
-endif.