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

17 lines
682 B
C

#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