1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-01-21 09:50:16 +00:00
UltimateTrainingModpack/source/saltysd/saltysd_dynamic.h

20 lines
675 B
C
Raw Normal View History

#ifndef SALTYSD_DYNAMIC_H
#define SALTYSD_DYNAMIC_H
#include <stdint.h>
#include "../useful/useful.h"
2019-05-17 16:24:04 +00:00
extern "C" {
uint64_t SaltySDCore_GetSymbolAddr(void* base, char* name) LINKABLE;
uint64_t SaltySDCore_FindSymbol(char* name) LINKABLE;
uint64_t SaltySDCore_FindSymbolBuiltin(char* name) LINKABLE;
void SaltySDCore_RegisterModule(void* base) LINKABLE;
void SaltySDCore_RegisterBuiltinModule(void* base) LINKABLE;
void SaltySDCore_DynamicLinkModule(void* base) LINKABLE;
void SaltySDCore_ReplaceModuleImport(void* base, char* name, void* new_replace) LINKABLE;
void SaltySDCore_ReplaceImport(char* name, void* new_replace) LINKABLE;
2019-05-17 16:24:04 +00:00
}
#endif // SALTYSD_DYNAMIC_H