29#ifndef CHECKASM_PLATFORM_LOONGARCH_H
30#define CHECKASM_PLATFORM_LOONGARCH_H
36#define checkasm_declare_impl(ret, ...) \
37 ret (*checked_call)(void *, int, int, int, int, int, int, int, __VA_ARGS__, int, \
38 int, int, int, int, int, int, int, int, int, int, int, int, int, \
40 = (ret (*)(void *, int, int, int, int, int, int, int, __VA_ARGS__, int, int, \
41 int, int, int, int, int, int, int, int, int, int, int, int, int, \
42 int))(void *) checkasm_checked_call
44#define checkasm_call_checked(func, ...) \
45 (checkasm_set_signal_handler_state(1), \
46 checked_call(func, 0, 0, 0, 0, 0, 0, 0, __VA_ARGS__, 7, 6, 5, 4, 3, 2, 1, 0, 0, 0, \
48 checkasm_set_signal_handler_state(0)
50#define CHECKASM_ALIGNMENT 16
int(* func)(AVBPrint *dst, const char *in, const char *arg)
CHECKASM_API void checkasm_checked_call(void *func,...)
Platform and compiler attribute macros.
#define CHECKASM_API
Symbol visibility attribute for public API functions.