1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef ULM_LOADER_H
#define ULM_LOADER_H

#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>

#ifdef __cplusplus
extern "C" {
#endif // __cplusplus

extern uint64_t ulm_brk;

void ulm_loadRestart();
bool ulm_load(const char *prog);
bool ulm_load_fstream(FILE *in);
bool ulm_load_str(const char *line);

#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus

#endif // ULM_LOADER_H