mirror of
https://github.com/tuz358/cpu-emulator.git
synced 2025-12-18 21:14:35 +03:00
prevent double inclusion of memory.h
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
#ifndef MEMORY_H
|
||||
#define MEMORY_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
||||
class Memory {
|
||||
private:
|
||||
@@ -15,3 +19,5 @@ public:
|
||||
void load_binary(FILE *file);
|
||||
void free_memory();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user