LwIP 1.3版本奇怪的程序,求助。

[复制链接]
2026|0
 楼主| MCUJunior 发表于 2008-5-9 10:46 | 显示全部楼层 |阅读模式
LwIP 1.3中部分代码有点看不懂,请教 

/** This array holds the element sizes of each pool. */
#if !MEM_USE_POOLS
static
#endif
const u16_t memp_sizes[MEMP_MAX] = {
#define LWIP_MEMPOOL(name,num,size,desc)  MEMP_ALIGN_SIZE(size),
#include "lwip/memp_std.h"
};

位于文件Memp.c,这是什么意思?怎么数组 memp_sizes里面有宏定义和预编译的代码?先谢过。
 
 
您需要登录后才可以回帖 登录 | 注册

本版积分规则

72

主题

178

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部