rename all sc_array stuff to vector stuff
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "vector.h"
|
||||
#include "memmap.h"
|
||||
#include "symbols.h"
|
||||
#include "types.h"
|
||||
#include "vector.h"
|
||||
|
||||
struct HiloadContext;
|
||||
|
||||
|
||||
typedef enum {
|
||||
HI_MODULE_STATE_DIRTY = (1 << 0),
|
||||
HI_MODULE_STATE_PATCHABLE = (1 << 6), // non system module we will modify
|
||||
@@ -22,14 +21,12 @@ typedef struct {
|
||||
ModuleInfo info;
|
||||
} ModuleData;
|
||||
|
||||
sc_array_def(ModuleData, module);
|
||||
typedef struct sc_array_module VectorModuleData;
|
||||
vector_def(ModuleData, ModuleData);
|
||||
|
||||
static inline ModuleInfo hi_modinfo_add(ModuleInfo flags, ModuleFlags flag) {
|
||||
return flags | flag;
|
||||
}
|
||||
static inline ModuleInfo hi_modinfo_clear(ModuleInfo flags,
|
||||
ModuleFlags flag) {
|
||||
static inline ModuleInfo hi_modinfo_clear(ModuleInfo flags, ModuleFlags flag) {
|
||||
return flags & ~flag;
|
||||
}
|
||||
static inline bool hi_modinfo_has(ModuleInfo flags, ModuleFlags flag) {
|
||||
|
||||
Reference in New Issue
Block a user