You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef _SHUFFLE3_H
|
|
|
|
#define _SHUFFLE3_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#define _UNIQUE __restrict
|
|
|
|
extern "C" {
|
|
|
|
#else
|
|
|
|
#define _UNIQUE restrict
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
#define _FORCE_INLINE __attribute__((gnu_inline)) static inline
|
|
|
|
#else
|
|
|
|
#define _FORCE_INLINE __attribute__((gnu_inline)) extern inline
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
#define dprintf(fmt, ...) printf("[dbg @" __FILE__ "->%s:%d] " fmt "\n", __func__, __LINE__ __VA_OPT__(,) __VA_ARGS__)
|
|
|
|
#else
|
|
|
|
#define dprintf(fmt, ...)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern const char* _prog_name;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _SHUFFLE3_H */
|