1 #ifndef EMBEDED_OBERON_SCRIPT_H
2 #define EMBEDED_OBERON_SCRIPT_H
9 typedef struct oberon_var_s oberon_var_t
;
10 typedef struct oberon_type_s oberon_type_t
;
11 typedef struct oberon_module_s oberon_module_t
;
12 typedef struct oberon_context_s oberon_context_t
;
29 struct oberon_module_s
35 struct oberon_context_s
45 oberon_module_t
* mod
;
47 oberon_type_t
* types
;
50 oberon_context_t
* oberon_create_context();
51 void oberon_register_global_type(oberon_context_t
* ctx
, oberon_type_t
* type
);
52 oberon_module_t
* oberon_compile_module(oberon_context_t
* ctx
, const char * code
);
54 #endif // EMBEDED_OBERON_SCRIPT_H