18 lines
291 B
C
18 lines
291 B
C
#ifndef INCLUDED_READ_H
|
|
#define INCLUDED_READ_H
|
|
|
|
#include "lisp.h"
|
|
|
|
#include <stddef.h>
|
|
|
|
typedef enum {
|
|
SEVERITY_WARN,
|
|
SEVERITY_ERROR,
|
|
} ReadErrorSeverity;
|
|
|
|
size_t read_from_buffer(const char *text, size_t length, LispVal **out);
|
|
|
|
DECLARE_FUNCTION(read, (LispVal * source));
|
|
|
|
#endif
|