Files
bob16/bob64/compiler.h
T
2026-10-08 23:36:34 +02:00

16 lines
479 B
C

#ifndef BOB64_COMPILER_H
#define BOB64_COMPILER_H
#include "exec.h"
#include "paging.h"
#define BOB64_COMPILER_SOURCE_LIMIT 4096u
#define BOB64_COMPILER_IMAGE_LIMIT (BOB64_EXEC_HEADER_SIZE+2u*BOB64_PAGE_SIZE)
/* Compile bob64's initial resident C subset directly to a B64E application. */
int bob64_compile_c(const char *source,usize source_length,void *output,
usize output_capacity,usize *output_length,
usize *error_offset);
#endif