return true;
}
+bool cdump_unbundle_size_t(const void *ctx, void *ptr, const char *str)
+{
+ *(size_t *)ptr = strtoul(str, NULL, 10);
+ return true;
+}
+
bool cdump_bundle_char(struct cdump_string *p, const void *ptr, unsigned indent)
{
return addshort(p, "%u", *(unsigned char *)ptr);
{
return addshort(p, "%g", *(float *)ptr);
}
+
+bool cdump_bundle_size_t(struct cdump_string *p, const void *ptr, unsigned indent)
+{
+ return addshort(p, "%zu", *(size_t *)ptr);
+}