erlang各种有用的函数包括一些有用nif封装,还有一些性能测试case。
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
292 B

5 anni fa
  1. #ifndef C_SRC_MACROS_H_
  2. #define C_SRC_MACROS_H_
  3. #define UNUSED(expr) do { (void)(expr); } while (0)
  4. #define DISALLOW_ASSIGN(TypeName) void operator=(const TypeName&)
  5. #define DISALLOW_COPY_AND_ASSIGN(TypeName) TypeName(const TypeName&); DISALLOW_ASSIGN(TypeName)
  6. #endif // C_SRC_MACROS_H_