Improve memory efficiency via plain ints for length

This commit is contained in:
2022-11-29 20:57:50 -05:00
parent d965ca142d
commit 13704fae2c
16 changed files with 183 additions and 84 deletions

View File

@@ -1,7 +1,6 @@
#ifndef _UCLISP_H_
#define _UCLISP_H_
struct ucl_scope;
struct ucl_object;
struct ucl;
@@ -11,6 +10,9 @@ void ucl_delete(struct ucl* state);
struct ucl_object *ucl_tokenize(struct ucl* state, const char *source);
struct ucl_object *ucl_parse(struct ucl* state, const char *sexp);
struct ucl_object *ucl_evaluate(struct ucl* state, struct ucl_object *sexp);
struct ucl_object *ucl_evaluate_progn(struct ucl* state, struct ucl_object *sexps);
void ucl_print_obj(struct ucl_object *obj);
void ucl_gc(struct ucl* ucl);