formatting
This commit is contained in:
parent
e7f4773cba
commit
b80e5a9c4e
1
ir.c
1
ir.c
@ -19,6 +19,7 @@ const char *irinstr_str[IRInstrEnumSize] = {
|
|||||||
#define IRTOKS_INIT_CAP_SHORT 16
|
#define IRTOKS_INIT_CAP_SHORT 16
|
||||||
|
|
||||||
static void irtoks_init_with_cap(IRToks *v, size_t cap);
|
static void irtoks_init_with_cap(IRToks *v, size_t cap);
|
||||||
|
|
||||||
static void irtoks_init_with_cap(IRToks *v, size_t cap) {
|
static void irtoks_init_with_cap(IRToks *v, size_t cap) {
|
||||||
v->toks = malloc(sizeof(IRTok) * cap);
|
v->toks = malloc(sizeof(IRTok) * cap);
|
||||||
v->len = 0;
|
v->len = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user