Refactor headers, distinguish public and private

This commit is contained in:
2022-11-22 15:50:18 -05:00
parent f19f672d05
commit 13062a5b86
20 changed files with 152 additions and 93 deletions

16
src/memory.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef _UCLISP_MEMORY_H_
#define _UCLISP_MEMORY_H_
#include "types.h"
struct ucl_object *ucl_cell_create(struct ucl_object *car, struct ucl_object *cdr);
struct ucl_object *ucl_int_create(int integer);
struct ucl_object *ucl_symbol_create(const char* symbol);
struct ucl_object *ucl_string_create(const char* string);
struct ucl_object *ucl_error_create(const char* error);
struct ucl_object *ucl_builtin_create(ucl_lisp builtin);
struct ucl_object *ucl_special_create(ucl_lisp special);
void ucl_object_delete(struct ucl_object *obj);
#endif