_CLC_DECL is for declarations and _CLC_DEF for definitions, as the names imply. No change to any bitcode module.
8 lines
195 B
C++
8 lines
195 B
C++
#include <clc/utils.h>
|
|
|
|
#define __CLC_FUNCTION(x) __CLC_CONCAT(__clc_, x)
|
|
|
|
_CLC_OVERLOAD _CLC_DEF __CLC_INTN FUNCTION(__CLC_FLOATN a, __CLC_FLOATN b) {
|
|
return __CLC_FUNCTION(FUNCTION)(a, b);
|
|
}
|