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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user