106 typedef struct as_geojson_s {
239 return string ?
string->value : fallback;
as_geojson * as_geojson_new(char *value, bool free)
static as_val * as_geojson_toval(const as_geojson *s)
as_geojson * as_geojson_new_strdup(const char *value)
as_geojson * as_geojson_new_wlen(char *value, size_t len, bool free)
#define as_util_fromval(object, type_id, type)
static char * as_geojson_getorelse(const as_geojson *string, char *fallback)
static void as_geojson_destroy(as_geojson *string)
size_t as_geojson_len(as_geojson *string)
as_geojson * as_geojson_init(as_geojson *string, char *value, bool free)
#define as_val_destroy(__v)
void as_geojson_val_destroy(as_val *v)
char * as_geojson_val_tostring(const as_val *v)
static as_geojson * as_geojson_fromval(const as_val *v)
as_geojson * as_geojson_init_wlen(as_geojson *string, char *value, size_t len, bool free)
uint32_t as_geojson_val_hashcode(const as_val *v)
static char * as_geojson_get(const as_geojson *string)