Big Tabbing Change
[satune.git] / src / AST / tableentry.h
1 /*
2  * To change this license header, choose License Headers in Project Properties.
3  * To change this template file, choose Tools | Templates
4  * and open the template in the editor.
5  */
6
7 /*
8  * File:   tableentry.h
9  * Author: hamed
10  *
11  * Created on June 16, 2017, 3:54 PM
12  */
13
14 #ifndef TABLEENTRY_H
15 #define TABLEENTRY_H
16
17 #include "classlist.h"
18 #include "mymemory.h"
19 struct TableEntry {
20         uint64_t output;
21         uint inputSize;
22         uint64_t inputs[];
23 };
24
25 TableEntry *allocTableEntry(uint64_t *inputs, uint inputSize, uint64_t result);
26 void deleteTableEntry(TableEntry *tableEntry);
27
28 #endif/* TABLEENTRY_H */
29