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

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)

@ -1 +1 @@
Subproject commit a7c2933e01152101ee2abc15bb75b035d4dafd74
Subproject commit 06971a1144404bab62f0a9a7e7f881b18b6afde4