Add a number implementation struct to libab.

This commit is contained in:
2018-04-21 17:32:38 -07:00
parent 596e1419b4
commit b12f6d7a31
2 changed files with 42 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
#include "parser.h"
#include "result.h"
#include "table.h"
#include "number.h"
/**
* The main struct of libabacus,
@@ -29,6 +30,10 @@ struct libab_s {
* things like functions and operators.
*/
libab_table table;
/**
* The number implementation used by this instance.
*/
libab_number_impl impl;
};
typedef struct libab_s libab;