|
|
有时候看别人源代码时会看到这样的:
#define _FrameSwizzleBlock(type, transfer, transfer16, incsrc) \
/* FrameSwizzleBlock32 */ \
void FASTCALL(FrameSwizzleBlock32##type##c(u32* dst, u32* src, int srcpitch,u32 WriteMask)) \
{ \
或者
#define MOTION_FUNCTIONS(FORMAT,MOTION,MOTION_FIELD,MOTION_DMV,MOTION_ZERO)\
static void motion_fr_frame_##FORMAT (mpeg2_decoder_t * const decoder, \
motion_t * const motion,\
mpeg2_mc_fct * const * const table) \
{ \
define和函数定义有什么关系?
那个##起什么作用??
|
|