mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2026-05-07 21:49:04 -05:00
Some checks are pending
Publish Docker Image / clang-format-lib (push) Waiting to run
Publish Docker Image / build-lib (push) Blocked by required conditions
Publish Docker Image / clang-format-examples (push) Waiting to run
Publish Docker Image / build-examples (push) Blocked by required conditions
Publish Docker Image / build-and-push-image (push) Blocked by required conditions
25 lines
662 B
C
25 lines
662 B
C
#pragma once
|
|
#include <stdint.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef bool (*WUPSReent_GetReentContext)(const void *pluginId, void **outPtr);
|
|
typedef bool (*WUPSReent_AddReentContext)(const void *pluginId, void *reentPtr, void (*cleanupFn)(void *));
|
|
|
|
typedef uint32_t WUPS_REENT_API_VERSION;
|
|
|
|
#define WUPS_REENT_CUR_API_VERSION 0x02
|
|
|
|
typedef struct wups_loader_init_reent_args_t_ {
|
|
WUPS_REENT_API_VERSION version;
|
|
WUPSReent_GetReentContext get_context_ptr;
|
|
WUPSReent_AddReentContext add_reent_context_ptr;
|
|
} wups_loader_init_reent_args_t_;
|
|
|
|
void WUPSReentAPI_InitInternal(wups_loader_init_reent_args_t_ args);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |