Projet-Systemes-Informatiques/table.h
alejeune de931ee17f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	table.c
#	table.h
2023-04-06 11:08:57 +02:00

27 lines
450 B
C

#ifndef TABLE_H
#define TABLE_H
#include <stdio.h>
#include <stdbool.h>
enum enumVarType {INT, FLOAT}; // a adapter
/*defined constants*/
#define START_TABLE_SIZE 128;
/*indexes in the array*/
static int currentIndex;
static int maxIndex;
static symbol* symbolTable;
typedef struct {
char* name;
bool init;
enumVarType varType;
int offset;
int deep;
} Symbol;
void reallocateArray(int size);
void checkArraySanity();
#endif