#define sym (計算されたオフセット値) /* offsetof(struct str, mem) # */
#define OFFSET(sym, str, mem) \ DEFINE(sym, offsetof(struct str, mem))
メニュー編集
新規作成用