mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-19 16:54:08 +10:00
Add disassembler alternative format
This commit is contained in:
24
tools/disassembler/utils.h
Normal file
24
tools/disassembler/utils.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* utils.h
|
||||
*
|
||||
* Created on: 10 ago. 2023
|
||||
* Original Author: Emiliano Augusto Gonzalez (egonzalez . hiperion @ gmail . com)
|
||||
*
|
||||
* Further modified by Kayne Ruse, and added to the Toy Programming Language tool repository.
|
||||
*/
|
||||
|
||||
#ifndef UTILS_H_
|
||||
#define UTILS_H_
|
||||
|
||||
struct Node {
|
||||
void *data;
|
||||
struct Node *next;
|
||||
};
|
||||
|
||||
extern struct Node *queue_front, *queue_rear;
|
||||
|
||||
void enqueue(void *x);
|
||||
void dequeue(void);
|
||||
void* front(void);
|
||||
|
||||
#endif /* UTILS_H_ */
|
||||
Reference in New Issue
Block a user