1#ifndef PRISM_INTERNAL_SOURCE_H
2#define PRISM_INTERNAL_SOURCE_H
34 const uint8_t *source;
40 pm_source_type_t type;
70bool pm_source_stream_eof(
const pm_source_t *source);
A wrapper around a contiguous block of allocated memory.
An opaque type representing the source code being parsed, regardless of origin (constant memory,...
int() pm_source_stream_feof_t(void *stream)
This function is used to check whether a stream is at EOF.
char *() pm_source_stream_fgets_t(char *string, int size, void *stream)
This function is used to retrieve a line of input from a stream.