1
0
mirror of https://github.com/pevans/erc-c.git synced 2026-04-26 19:17:41 +00:00

Allow us to call objstore_init more than once.

This also separates some code into objstore_ready().
This commit is contained in:
Peter Evans
2018-01-03 21:49:26 -06:00
parent 7182608473
commit 06d37d24d7
2 changed files with 23 additions and 8 deletions
+3
View File
@@ -1,6 +1,8 @@
#ifndef _OBJSTORE_H_
#define _OBJSTORE_H_
#include <stdbool.h>
#include "apple2.mem.h"
#include "vm_bits.h"
@@ -12,6 +14,7 @@ typedef struct {
} objstore;
extern int objstore_init();
extern bool objstore_ready();
#define OBJSTORE_DECL(x) \
const vm_8bit *objstore_##x()