|
@ -154,7 +154,7 @@ static int ink_add_indigenous(struct context* ctx, const char* name, struct elem |
|
|
int new_count; |
|
|
int new_count; |
|
|
void* renewed; |
|
|
void* renewed; |
|
|
new_count = (ctx->words_capacity + ctx->words_capacity/2); |
|
|
new_count = (ctx->words_capacity + ctx->words_capacity/2); |
|
|
renewed = ctx->realloc(ctx->words, sizeof(struct native_fn) * new_count); |
|
|
|
|
|
|
|
|
renewed = ctx->realloc(ctx->words, sizeof(struct fn) * new_count); |
|
|
if(renewed == NULL) { |
|
|
if(renewed == NULL) { |
|
|
return -1; |
|
|
return -1; |
|
|
} else { |
|
|
} else { |
|
|