We declared some functions that were never implemented. Implement them.

This commit is contained in:
Dan Hirsch 2013-11-01 18:00:50 -04:00
parent a17d189d9d
commit de6f6115a8
3 changed files with 10 additions and 1 deletions

View file

@ -62,6 +62,10 @@ HParseResult* h_parse__m(HAllocator* mm__, const HParser* parser, const uint8_t*
return backends[parser->backend]->parse(mm__, parser, &input_stream);
}
void h_parse_result_free__m(HAllocator *alloc, HParseResult *result) {
h_parse_result_free(result);
}
void h_parse_result_free(HParseResult *result) {
if(result == NULL) return;
h_delete_arena(result->arena);