Sha256: cc57c002277d42eed11ea3bd25326a148e1e7ebebde656827c8d5913d94e0072
Contents?: true
Size: 737 Bytes
Versions: 18
Compression:
Stored size: 737 Bytes
Contents
#pragma once // Used to mark symbols to be exported to the outside of the extension. // Consider very carefully before tagging a function with this. #define DDTRACE_EXPORT __attribute__ ((visibility ("default"))) // Used to mark function arguments that are deliberately left unused #ifdef __GNUC__ #define DDTRACE_UNUSED __attribute__((unused)) #else #define DDTRACE_UNUSED #endif // @ivoanjo: After trying to read through https://stackoverflow.com/questions/3437404/min-and-max-in-c I decided I // don't like C and I just implemented this as a function. inline static uint64_t uint64_max_of(uint64_t a, uint64_t b) { return a > b ? a : b; } inline static uint64_t uint64_min_of(uint64_t a, uint64_t b) { return a > b ? b : a; }
Version data entries
18 entries across 18 versions & 1 rubygems