custom marker

This commit is contained in:
Yuichi Nishiwaki
2014-09-17 13:00:51 +09:00
parent 7ebaaf7465
commit f0ed3b655a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ regexp_dtor(pic_state *pic, void *data)
pic_free(pic, data);
}
static const pic_data_type regexp_type = { "regexp", regexp_dtor };
static const pic_data_type regexp_type = { "regexp", regexp_dtor, NULL };
#define pic_regexp_p(o) (pic_data_type_p((o), &regexp_type))
#define pic_regexp_data_ptr(o) ((struct pic_regexp_t *)pic_data_ptr(o)->data)