/* * al_helper.h * * Created on: 2023-4-20 * Author: xukaiming */ #ifndef _AL_HELPER_H_ #define _AL_HELPER_H_ #include "stdint.h" #ifdef __cplusplus extern "C" { #endif //#define AL_STATIC static #define AL_STATIC #define AL_INLINE inline #define TASK_WITH_PT 1 #define TASK_WITH_NAME 0 #define XDATA xdata #define IDATA idata #define CONST code //#define CONST xdata #ifndef UNUSED #define UNUSED(x) (void)(x) #endif enum { false = 0, true =!false }; #ifdef __cplusplus } #endif #endif