add pic_init_value macro

This commit is contained in:
Yuichi Nishiwaki
2013-11-05 00:42:44 -05:00
parent 46fccff806
commit e056586ab9
3 changed files with 13 additions and 17 deletions
+1
View File
@@ -29,6 +29,7 @@ typedef struct {
#define pic_ptr(v) ((v).u.data)
#define pic_vtype(v) ((v).type)
#define pic_init_value(v,vtype) ((v).type = (vtype), (v).u.data = NULL)
enum pic_tt {
/* immediate */