Fixed a bug where the tokenizer wasn't parsing hexadecimal numbers correctly. Added support for tokenizing the colon and comma characters.
This commit is contained in:
+4
-1
@@ -1,6 +1,8 @@
|
||||
#ifndef ARRAY_H
|
||||
#define ARRAY_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef struct _array {
|
||||
int Capacity;
|
||||
int Size;
|
||||
@@ -8,6 +10,7 @@ typedef struct _array {
|
||||
} Array;
|
||||
|
||||
Array* ArrayCreate(void);
|
||||
int ArrayAdd(Array* array, void* item);
|
||||
bool ArrayAdd(Array* array, void* item);
|
||||
void* ArrayPeek(Array* array);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user