custom marker
This commit is contained in:
parent
7ebaaf7465
commit
f0ed3b655a
|
@ -21,7 +21,7 @@ regexp_dtor(pic_state *pic, void *data)
|
||||||
pic_free(pic, 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), ®exp_type))
|
#define pic_regexp_p(o) (pic_data_type_p((o), ®exp_type))
|
||||||
#define pic_regexp_data_ptr(o) ((struct pic_regexp_t *)pic_data_ptr(o)->data)
|
#define pic_regexp_data_ptr(o) ((struct pic_regexp_t *)pic_data_ptr(o)->data)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit a7c2933e01152101ee2abc15bb75b035d4dafd74
|
Subproject commit 06971a1144404bab62f0a9a7e7f881b18b6afde4
|
Loading…
Reference in New Issue