1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-24 10:54:16 +00:00
UltimateTrainingModpack/source/saltysd_dynamic.h

18 lines
682 B
C
Raw Normal View History

#ifndef SALTYSD_DYNAMIC_H
#define SALTYSD_DYNAMIC_H
#include <stdint.h>
#include "useful.h"
extern uint64_t SaltySDCore_GetSymbolAddr(void* base, char* name) LINKABLE;
extern uint64_t SaltySDCore_FindSymbol(char* name) LINKABLE;
extern uint64_t SaltySDCore_FindSymbolBuiltin(char* name) LINKABLE;
extern void SaltySDCore_RegisterModule(void* base) LINKABLE;
extern void SaltySDCore_RegisterBuiltinModule(void* base) LINKABLE;
extern void SaltySDCore_DynamicLinkModule(void* base) LINKABLE;
extern void SaltySDCore_ReplaceModuleImport(void* base, char* name, void* new) LINKABLE;
extern void SaltySDCore_ReplaceImport(char* name, void* new) LINKABLE;
#endif // SALTYSD_DYNAMIC_H