windows linux mac下erlang nif或者port_driver通用编译脚本
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

9 righe
374 B

  1. -define(FAIL, rebarUtils:abort()).
  2. -define(ABORT(Str, Args), rebarUtils:abort(Str, Args)).
  3. -define(INFO(Str, Args), rebar:log(info, Str, Args)).
  4. -define(WARN(Str, Args), rebar:log(warn, Str, Args)).
  5. -define(ERROR(Str, Args), rebar:log(error, Str, Args)).
  6. -define(CONSOLE(Str, Args), io:format(Str, Args)).
  7. -define(FMT(Str, Args), lists:flatten(io_lib:format(Str, Args))).