#if !defined SLANG_COMPILE_H
#define SLANG_COMPILE_H\r
\r
+#include "slang_export.h"\r
+#include "slang_execute.h"\r
#include "slang_compile_variable.h"\r
#include "slang_compile_struct.h"\r
#include "slang_compile_operation.h"\r
slang_function_scope functions;
slang_struct_scope structs;
slang_unit_type type;\r
- struct slang_assembly_file_ *assembly;\r
+ slang_assembly_file *assembly;\r
int free_assembly;\r
slang_var_pool *global_pool;\r
int free_global_pool;\r
- struct slang_machine_ *machine;\r
+ slang_machine *machine;\r
int free_machine;\r
slang_atom_pool *atom_pool;\r
- int free_atom_pool;
+ int free_atom_pool;\r
+ slang_export_data_table exp_data;\r
+ slang_export_code_table exp_code;
} slang_translation_unit;
int slang_translation_unit_construct (slang_translation_unit *);\r
-int slang_translation_unit_construct2 (slang_translation_unit *, struct slang_assembly_file_ *,\r
- slang_var_pool *, struct slang_machine_ *, slang_atom_pool *);
+int slang_translation_unit_construct2 (slang_translation_unit *, slang_assembly_file *,\r
+ slang_var_pool *, slang_machine *, slang_atom_pool *);
void slang_translation_unit_destruct (slang_translation_unit *);
typedef struct slang_info_log_