ext/commonmarker/map.h in commonmarker-0.23.7.pre1 vs ext/commonmarker/map.h in commonmarker-0.23.7
- old
+ new
@@ -8,11 +8,12 @@
#endif
struct cmark_map_entry {
struct cmark_map_entry *next;
unsigned char *label;
- unsigned int age;
+ size_t age;
+ size_t size;
};
typedef struct cmark_map_entry cmark_map_entry;
struct cmark_map;
@@ -21,10 +22,12 @@
struct cmark_map {
cmark_mem *mem;
cmark_map_entry *refs;
cmark_map_entry **sorted;
- unsigned int size;
+ size_t size;
+ size_t ref_size;
+ size_t max_ref_size;
cmark_map_free_f free;
};
typedef struct cmark_map cmark_map;