2019-03-24 07:28:43 +00:00
|
|
|
#ifndef SALTYSD_DYNAMIC_H
|
|
|
|
#define SALTYSD_DYNAMIC_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#include "useful.h"
|
|
|
|
|
2019-05-17 16:24:04 +00:00
|
|
|
extern "C" {
|
2019-05-27 19:33:40 +00:00
|
|
|
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
|
|
|
}
|
2019-03-24 07:28:43 +00:00
|
|
|
|
|
|
|
#endif // SALTYSD_DYNAMIC_H
|