windows linux mac下erlang nif或者port_driver通用编译脚本
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

9 lignes
376 B

il y a 5 ans
il y a 5 ans
  1. -define(FAIL, npRUtils:abort()).
  2. -define(ABORT(Str, Args), npRUtils:abort(Str, Args)).
  3. -define(INFO(Str, Args), npRMain:log(info, Str, Args)).
  4. -define(WARN(Str, Args), npRMain:log(warn, Str, Args)).
  5. -define(ERROR(Str, Args), npRMain: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))).