Download
23 lines 360 BCModified 2022-09-23 raw
1234567891011121314151617181920212223

#include <stdint.h>
typedef struct {
    int64_t first, next, last;
} range_t;

typedef struct {
    int64_t len;
    int64_t *items;
} array_t;

typedef struct {
    int64_t len;
    union {
        char *i8;
        int16_t *i16;
        int32_t *i32;
        int64_t *i64;
        float *f32;
        double *d32;
    } items;
    uint8_t slack;
} list_t;