#include <stdlib.h>
#include <stdio.h>
typedef struct {
int a;
char *b;
} my_error_data_t;
static char*
my_error_to_string(void *data)
{
if (data == NULL)
my_error_data_t *d = data;
}
static void
my_error_free(void *data)
{
if (data == NULL)
return;
my_error_data_t *d = data;
free(d->b);
free(d);
}
.to_string_func = my_error_to_string,
.free_func = my_error_free,
};
my_error_new(int a, const char *b)
{
my_error_data_t *d =
sb_malloc(
sizeof(my_error_data_t));
d->a = a;
}
int
main(int argc, char **argv)
{
return 0;
}