Files
uclisp/src/memory.h

17 lines
684 B
C

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