|
SDL
2.0
|
#include "SDL_config.h"#include "SDL_dynapi.h"#include "SDL.h"#include "SDL_syswm.h"#include "SDL_vulkan.h"#include "SDL_dynapi_procs.h"#include <windows.h>
Include dependency graph for SDL_dynapi.c:Go to the source code of this file.
Data Structures | |
| struct | SDL_DYNAPI_jump_table |
Macros | |
| #define | SDL_DYNAPI_VERSION 1 |
| #define | DISABLE_JUMP_MAGIC 1 |
| #define | SDL_DYNAPI_VARARGS_LOGFN(_static, name, initcall, logname, prio) |
| #define | SDL_DYNAPI_VARARGS(_static, name, initcall) |
| #define | SDL_DYNAPI_PROC(rc, fn, params, args, ret) |
| #define | SDL_DYNAPI_PROC(rc, fn, params, args, ret) SDL_DYNAPIFN_##fn fn; |
| #define | SDL_DYNAPI_PROC(rc, fn, params, args, ret) static rc SDLCALL fn##_DEFAULT params; |
| #define | SDL_DYNAPI_PROC(rc, fn, params, args, ret) fn##_DEFAULT, |
| #define | SDL_DYNAPI_PROC(rc, fn, params, args, ret) |
| #define | SDL_DYNAPI_PROC_NO_VARARGS 1 |
| #define | SDL_DYNAPI_PROC(rc, fn, params, args, ret) rc SDLCALL fn params { ret jump_table.fn args; } |
| #define | SDL_DYNAPI_PROC_NO_VARARGS 1 |
| #define | SDL_DYNAPI_PROC(rc, fn, params, args, ret) jump_table.fn = fn##_REAL; |
| #define | WIN32_LEAN_AND_MEAN 1 |
Typedefs | |
| typedef Sint32(* | SDL_DYNAPI_ENTRYFN) (Uint32 apiver, void *table, Uint32 tablesize) |
Functions | |
| static void | SDL_InitDynamicAPI (void) |
| static Sint32 | initialize_jumptable (Uint32 apiver, void *table, Uint32 tablesize) |
| Sint32 | SDL_DYNAPI_entry (Uint32, void *, Uint32) |
| static SDL_INLINE void * | get_sdlapi_entry (const char *fname, const char *sym) |
| static void | SDL_InitDynamicAPILocked (void) |
Variables | |
| static SDL_DYNAPI_jump_table | jump_table |
| #define DISABLE_JUMP_MAGIC 1 |
Definition at line 61 of file SDL_dynapi.c.
| #define SDL_DYNAPI_PROC | ( | rc, | |
| fn, | |||
| params, | |||
| args, | |||
| ret | |||
| ) |
| #define SDL_DYNAPI_PROC | ( | rc, | |
| fn, | |||
| params, | |||
| args, | |||
| ret | |||
| ) | SDL_DYNAPIFN_##fn fn; |
Definition at line 159 of file SDL_dynapi.c.
Definition at line 159 of file SDL_dynapi.c.
| #define SDL_DYNAPI_PROC | ( | rc, | |
| fn, | |||
| params, | |||
| args, | |||
| ret | |||
| ) | fn##_DEFAULT, |
Definition at line 159 of file SDL_dynapi.c.
| #define SDL_DYNAPI_PROC | ( | rc, | |
| fn, | |||
| params, | |||
| args, | |||
| ret | |||
| ) |
Definition at line 159 of file SDL_dynapi.c.
| #define SDL_DYNAPI_PROC | ( | rc, | |
| fn, | |||
| params, | |||
| args, | |||
| ret | |||
| ) | rc SDLCALL fn params { ret jump_table.fn args; } |
Definition at line 159 of file SDL_dynapi.c.
| #define SDL_DYNAPI_PROC | ( | rc, | |
| fn, | |||
| params, | |||
| args, | |||
| ret | |||
| ) | jump_table.fn = fn##_REAL; |
Definition at line 159 of file SDL_dynapi.c.
| #define SDL_DYNAPI_PROC_NO_VARARGS 1 |
Definition at line 161 of file SDL_dynapi.c.
| #define SDL_DYNAPI_PROC_NO_VARARGS 1 |
Definition at line 161 of file SDL_dynapi.c.
| #define SDL_DYNAPI_VARARGS | ( | _static, | |
| name, | |||
| initcall | |||
| ) |
Definition at line 72 of file SDL_dynapi.c.
| #define SDL_DYNAPI_VARARGS_LOGFN | ( | _static, | |
| name, | |||
| initcall, | |||
| logname, | |||
| prio | |||
| ) |
Definition at line 65 of file SDL_dynapi.c.
| #define SDL_DYNAPI_VERSION 1 |
Definition at line 49 of file SDL_dynapi.c.
| #define WIN32_LEAN_AND_MEAN 1 |
Definition at line 217 of file SDL_dynapi.c.
Definition at line 203 of file SDL_dynapi.c.
|
static |
Definition at line 174 of file SDL_dynapi.c.
References jump_table, and SDL_DYNAPI_VERSION.
Referenced by SDL_DYNAPI_entry(), and SDL_InitDynamicAPILocked().
Definition at line 207 of file SDL_dynapi.c.
References initialize_jumptable().
Definition at line 297 of file SDL_dynapi.c.
References lock, SDL_FALSE, SDL_InitDynamicAPILocked(), and SDL_TRUE.
Definition at line 268 of file SDL_dynapi.c.
References get_sdlapi_entry(), initialize_jumptable(), jump_table, NULL, and SDL_DYNAPI_VERSION.
Referenced by SDL_InitDynamicAPI().
|
static |
Definition at line 134 of file SDL_dynapi.c.
Referenced by initialize_jumptable(), and SDL_InitDynamicAPILocked().