erlang各种有用的函数包括一些有用nif封装,还有一些性能测试case。
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

9 行
292 B

5 年前
  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_