Remove the implementation struct.

This commit is contained in:
2018-04-24 16:34:10 -07:00
parent 735e8715a8
commit 14e9ddea23
5 changed files with 3 additions and 50 deletions

View File

@@ -2,18 +2,16 @@
#define LIBABACUS_INTERPRETER_H
#include "table.h"
#include "number.h"
#include "tree.h"
struct libab_interpreter_s {
libab_ref base_table;
libab_number_impl* impl;
};
typedef struct libab_interpreter_s libab_interpreter;
void libab_interpreter_init(libab_interpreter* intr,
libab_ref* table, libab_number_impl* impl);
libab_ref* table);
libab_result libab_interpreter_run(libab_interpreter* intr,
libab_tree* tree, libab_ref* into);
void libab_interpreter_free(libab_interpreter* intr);