forked from metthal/IFJ-Projekt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstruction_vector.h
44 lines (38 loc) · 994 Bytes
/
instruction_vector.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* Project name:
* Implementace interpretu imperativního jazyka IFJ13.
*
* Codename:
* INI: Ni Interpreter
*
* Description:
* https://wis.fit.vutbr.cz/FIT/st/course-files-st.php/course/IFJ-IT/projects/ifj2013.pdf
*
* Project's GitHub repository:
* https://github.com/metthal/IFJ-Projekt
*
* Team:
* Marek Milkovič (xmilko01)
* Lukáš Vrabec (xvrabe07)
* Ján Spišiak (xspisi03)
* Ivan Ševčík (xsevci50)
* Marek Bertovič (xberto00)
*/
/**
* @file instruction_vector.h
* @brief Instruction vector specialization.
**/
#ifndef INSTRUCTION_VECTOR_H
#define INSTRUCTION_VECTOR_H
#include "vector.h"
#include "instruction.h"
typedef Instruction* InstructionVectorIterator;
typedef const Instruction* ConstInstructionVectorIterator;
#define VECTOR_STRUCT_ITEM
#define VECTOR_ITEM Instruction
#define VECTOR_ITERATOR InstructionVectorIterator
#include "vector_template.h"
#undef VECTOR_ITERATOR
#undef VECTOR_ITEM
#undef VECTOR_STRUCT_ITEM
#endif