seperate alignment

This commit is contained in:
chhylp123
2022-09-04 00:18:51 -04:00
parent cc16626dfa
commit ee51a6dddc
6 changed files with 925 additions and 61 deletions
+10
View File
@@ -249,12 +249,22 @@ typedef struct {
uint64_t *idx;
} cvert_t;
typedef struct {
size_t n, m;
uint8_t *a;
uint64_t *idx;
} hmap_t;
typedef struct {
ma_ug_t *hg;
size_t n, m;
uint64_t *a;
hmap_t *mm;
} hpc_t;
#define hpc_len(x, id) ((x).hg->u.a[(id)].len>>1)
#define hpc_str(x, id, rev) (((x).hg->u.a[(id)].s)+((rev)?((x).hg->u.a[(id)].len>>1):(0)))
typedef struct {
ma_ug_t *ug;
hpc_t *hpc_g;