Add a number implementation struct to libab.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user