blob: a74158d45fc840e6b5746219b4e3bb3e53338c4d [file] [log] [blame]
#include <clc/clc.h>
#define IMPL(TYPE) \
_CLC_OVERLOAD _CLC_DEF TYPE atom_dec(global TYPE *p) { \
return atom_sub(p, 1); \
}
IMPL(int)
IMPL(unsigned int)