RetroArch
dynload.h
Go to the documentation of this file.
1 #pragma once
2 #include <wiiu/types.h>
3 #include "thread.h"
4 #include "time.h"
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 typedef void *OSDynLoadModule;
11 typedef int (*OSDynLoadAllocFn)(int size, int align, void **outAddr);
12 typedef void (*OSDynLoadFreeFn)(void *addr);
13 
16 int32_t OSDynLoad_Acquire(char const *name, OSDynLoadModule *outModule);
17 int32_t OSDynLoad_FindExport(OSDynLoadModule module, int32_t isData, char const *name, void **outAddr);
19 
20 #ifdef __cplusplus
21 }
22 #endif
GLuint const GLchar * name
Definition: glext.h:6671
static int align(int x, int n)
Definition: psp2.c:23
int32_t OSDynLoad_SetAllocator(OSDynLoadAllocFn allocFn, OSDynLoadFreeFn freeFn)
int32_t OSDynLoad_GetAllocator(OSDynLoadAllocFn *outAllocFn, OSDynLoadFreeFn *outFreeFn)
GLsizeiptr size
Definition: glext.h:6559
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
void(* OSDynLoadFreeFn)(void *addr)
Definition: dynload.h:12
void OSDynLoad_Release(OSDynLoadModule module)
int32_t OSDynLoad_Acquire(char const *name, OSDynLoadModule *outModule)
Definition: ibxm.h:39
GLenum const GLvoid * addr
Definition: glext.h:10528
void * OSDynLoadModule
Definition: dynload.h:10
int32_t OSDynLoad_FindExport(OSDynLoadModule module, int32_t isData, char const *name, void **outAddr)
int(* OSDynLoadAllocFn)(int size, int align, void **outAddr)
Definition: dynload.h:11
signed int int32_t
Definition: stdint.h:123