Package org.lwjgl.sdl
Class SDLStdinc
java.lang.Object
org.lwjgl.sdl.SDLStdinc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Contains the function pointers loaded fromSDL.getLibrary()
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final float
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
nSDL_aligned_alloc
(long alignment, long size) void * SDL_aligned_alloc(size_t alignment, size_t size)
static void
nSDL_aligned_free
(long mem) void SDL_aligned_free(void * mem)
static long
nSDL_bsearch
(long key, long base, long nmemb, long size, long compare) void * SDL_bsearch(void const * key, void const * base, size_t nmemb, size_t size, SDL_CompareCallback compare)
static long
nSDL_bsearch_r
(long key, long base, long nmemb, long size, long compare, long userdata) void * SDL_bsearch_r(void const * key, void const * base, size_t nmemb, size_t size, SDL_CompareCallback_r compare, void * userdata)
static long
nSDL_calloc
(long nmemb, long size) void * SDL_calloc(size_t nmemb, size_t size)
static short
nSDL_crc16
(short crc, long data, long len) Uint16 SDL_crc16(Uint16 crc, void const * data, size_t len)
static int
nSDL_crc32
(int crc, long data, long len) Uint32 SDL_crc32(Uint32 crc, void const * data, size_t len)
static void
nSDL_free
(long mem) void SDL_free(void * mem)
static long
nSDL_getenv
(long name) char const * SDL_getenv(char const * name)
static long
nSDL_getenv_unsafe
(long name) char const * SDL_getenv_unsafe(char const * name)
static long
nSDL_GetEnvironmentVariable
(long env, long name) char const * SDL_GetEnvironmentVariable(SDL_Environment * env, char const * name)
static void
nSDL_GetMemoryFunctions
(long malloc_func, long calloc_func, long realloc_func, long free_func) void SDL_GetMemoryFunctions(SDL_malloc_func * malloc_func, SDL_calloc_func * calloc_func, SDL_realloc_func * realloc_func, SDL_free_func * free_func)
static void
nSDL_GetOriginalMemoryFunctions
(long malloc_func, long calloc_func, long realloc_func, long free_func) void SDL_GetOriginalMemoryFunctions(SDL_malloc_func * malloc_func, SDL_calloc_func * calloc_func, SDL_realloc_func * realloc_func, SDL_free_func * free_func)
static long
nSDL_malloc
(long size) void * SDL_malloc(size_t size)
static int
nSDL_memcmp
(long s1, long s2, long len) int SDL_memcmp(void const * s1, void const * s2, size_t len)
static long
nSDL_memset4
(long dst, int val, long dwords) void * SDL_memset4(void * dst, Uint32 val, size_t dwords)
static int
nSDL_murmur3_32
(long data, long len, int seed) Uint32 SDL_murmur3_32(void const * data, size_t len, Uint32 seed)
static void
nSDL_qsort
(long base, long nmemb, long size, long compare) void SDL_qsort(void * base, size_t nmemb, size_t size, SDL_CompareCallback compare)
static void
nSDL_qsort_r
(long base, long nmemb, long size, long compare, long userdata) void SDL_qsort_r(void * base, size_t nmemb, size_t size, SDL_CompareCallback_r compare, void * userdata)
static int
nSDL_rand_bits_r
(long state) Uint32 SDL_rand_bits_r(Uint64 * state)
static int
nSDL_rand_r
(long state, int n) Sint32 SDL_rand_r(Uint64 * state, Sint32 n)
static float
nSDL_randf_r
(long state) float SDL_randf_r(Uint64 * state)
static long
nSDL_realloc
(long mem, long size) void * SDL_realloc(void * mem, size_t size)
static int
nSDL_setenv_unsafe
(long name, long value, int overwrite) int SDL_setenv_unsafe(char const * name, char const * value, int overwrite)
static boolean
nSDL_SetEnvironmentVariable
(long env, long name, long value, boolean overwrite) bool SDL_SetEnvironmentVariable(SDL_Environment * env, char const * name, char const * value, bool overwrite)
static boolean
nSDL_SetMemoryFunctions
(long malloc_func, long calloc_func, long realloc_func, long free_func) bool SDL_SetMemoryFunctions(SDL_malloc_func malloc_func, SDL_calloc_func calloc_func, SDL_realloc_func realloc_func, SDL_free_func free_func)
static int
nSDL_unsetenv_unsafe
(long name) int SDL_unsetenv_unsafe(char const * name)
static boolean
nSDL_UnsetEnvironmentVariable
(long env, long name) bool SDL_UnsetEnvironmentVariable(SDL_Environment * env, char const * name)
static @Nullable ByteBuffer
SDL_aligned_alloc
(long alignment, long size) void * SDL_aligned_alloc(size_t alignment, size_t size)
static void
SDL_aligned_free
(@Nullable ByteBuffer mem) void SDL_aligned_free(void * mem)
static @Nullable ByteBuffer
SDL_bsearch
(ByteBuffer key, ByteBuffer base, long nmemb, long size, SDL_CompareCallbackI compare) void * SDL_bsearch(void const * key, void const * base, size_t nmemb, size_t size, SDL_CompareCallback compare)
static @Nullable ByteBuffer
SDL_bsearch_r
(ByteBuffer key, ByteBuffer base, long nmemb, long size, SDL_CompareCallback_rI compare, long userdata) void * SDL_bsearch_r(void const * key, void const * base, size_t nmemb, size_t size, SDL_CompareCallback_r compare, void * userdata)
static @Nullable ByteBuffer
SDL_calloc
(long nmemb, long size) void * SDL_calloc(size_t nmemb, size_t size)
static short
SDL_crc16
(short crc, ByteBuffer data) Uint16 SDL_crc16(Uint16 crc, void const * data, size_t len)
static int
SDL_crc32
(int crc, ByteBuffer data) Uint32 SDL_crc32(Uint32 crc, void const * data, size_t len)
static long
SDL_CreateEnvironment
(boolean populated) SDL_Environment * SDL_CreateEnvironment(bool populated)
static void
SDL_DestroyEnvironment
(long env) void SDL_DestroyEnvironment(SDL_Environment * env)
static int
SDL_FOURCC
(byte A, byte B, byte C, byte D) uint32_t SDL_FOURCC(uint8_t A, uint8_t B, uint8_t C, uint8_t D)
static void
SDL_free
(@Nullable ByteBuffer mem) void SDL_free(void * mem)
static void
void SDL_free(void * mem)
static void
SDL_free
(@Nullable LongBuffer mem) void SDL_free(void * mem)
static void
SDL_free
(@Nullable PointerBuffer mem) void SDL_free(void * mem)
static @Nullable String
SDL_getenv
(CharSequence name) char const * SDL_getenv(char const * name)
static @Nullable String
SDL_getenv
(ByteBuffer name) char const * SDL_getenv(char const * name)
static @Nullable String
char const * SDL_getenv_unsafe(char const * name)
static @Nullable String
SDL_getenv_unsafe
(ByteBuffer name) char const * SDL_getenv_unsafe(char const * name)
static long
SDL_Environment * SDL_GetEnvironment(void)
static @Nullable String
SDL_GetEnvironmentVariable
(long env, CharSequence name) char const * SDL_GetEnvironmentVariable(SDL_Environment * env, char const * name)
static @Nullable String
SDL_GetEnvironmentVariable
(long env, ByteBuffer name) char const * SDL_GetEnvironmentVariable(SDL_Environment * env, char const * name)
static long
SDL_GetEnvironmentVariables
(long env) void * SDL_GetEnvironmentVariables(SDL_Environment * env)
static void
SDL_GetMemoryFunctions
(@Nullable PointerBuffer malloc_func, @Nullable PointerBuffer calloc_func, @Nullable PointerBuffer realloc_func, @Nullable PointerBuffer free_func) void SDL_GetMemoryFunctions(SDL_malloc_func * malloc_func, SDL_calloc_func * calloc_func, SDL_realloc_func * realloc_func, SDL_free_func * free_func)
static int
int SDL_GetNumAllocations(void)
static void
SDL_GetOriginalMemoryFunctions
(@Nullable PointerBuffer malloc_func, @Nullable PointerBuffer calloc_func, @Nullable PointerBuffer realloc_func, @Nullable PointerBuffer free_func) void SDL_GetOriginalMemoryFunctions(SDL_malloc_func * malloc_func, SDL_calloc_func * calloc_func, SDL_realloc_func * realloc_func, SDL_free_func * free_func)
static @Nullable ByteBuffer
SDL_malloc
(long size) void * SDL_malloc(size_t size)
static int
SDL_memcmp
(ByteBuffer s1, ByteBuffer s2) int SDL_memcmp(void const * s1, void const * s2, size_t len)
static long
SDL_memset4
(ByteBuffer dst, int val) void * SDL_memset4(void * dst, Uint32 val, size_t dwords)
static long
SDL_memset4
(IntBuffer dst, int val) void * SDL_memset4(void * dst, Uint32 val, size_t dwords)
static int
SDL_murmur3_32
(ByteBuffer data, int seed) Uint32 SDL_murmur3_32(void const * data, size_t len, Uint32 seed)
static void
SDL_qsort
(ByteBuffer base, long nmemb, long size, SDL_CompareCallbackI compare) void SDL_qsort(void * base, size_t nmemb, size_t size, SDL_CompareCallback compare)
static void
SDL_qsort_r
(ByteBuffer base, long nmemb, long size, SDL_CompareCallback_rI compare, long userdata) void SDL_qsort_r(void * base, size_t nmemb, size_t size, SDL_CompareCallback_r compare, void * userdata)
static int
SDL_rand
(int n) Sint32 SDL_rand(Sint32 n)
static int
Uint32 SDL_rand_bits(void)
static int
SDL_rand_bits_r
(LongBuffer state) Uint32 SDL_rand_bits_r(Uint64 * state)
static int
SDL_rand_r
(LongBuffer state, int n) Sint32 SDL_rand_r(Uint64 * state, Sint32 n)
static float
float SDL_randf(void)
static float
SDL_randf_r
(LongBuffer state) float SDL_randf_r(Uint64 * state)
static @Nullable ByteBuffer
SDL_realloc
(@Nullable ByteBuffer mem, long size) void * SDL_realloc(void * mem, size_t size)
static int
SDL_setenv_unsafe
(CharSequence name, CharSequence value, int overwrite) int SDL_setenv_unsafe(char const * name, char const * value, int overwrite)
static int
SDL_setenv_unsafe
(ByteBuffer name, ByteBuffer value, int overwrite) int SDL_setenv_unsafe(char const * name, char const * value, int overwrite)
static boolean
SDL_SetEnvironmentVariable
(long env, CharSequence name, CharSequence value, boolean overwrite) bool SDL_SetEnvironmentVariable(SDL_Environment * env, char const * name, char const * value, bool overwrite)
static boolean
SDL_SetEnvironmentVariable
(long env, ByteBuffer name, ByteBuffer value, boolean overwrite) bool SDL_SetEnvironmentVariable(SDL_Environment * env, char const * name, char const * value, bool overwrite)
static boolean
SDL_SetMemoryFunctions
(SDL_malloc_funcI malloc_func, SDL_calloc_funcI calloc_func, SDL_realloc_funcI realloc_func, SDL_free_funcI free_func) bool SDL_SetMemoryFunctions(SDL_malloc_func malloc_func, SDL_calloc_func calloc_func, SDL_realloc_func realloc_func, SDL_free_func free_func)
static void
SDL_srand
(long seed) void SDL_srand(Uint64 seed)
static int
int SDL_unsetenv_unsafe(char const * name)
static int
int SDL_unsetenv_unsafe(char const * name)
static boolean
SDL_UnsetEnvironmentVariable
(long env, CharSequence name) bool SDL_UnsetEnvironmentVariable(SDL_Environment * env, char const * name)
static boolean
SDL_UnsetEnvironmentVariable
(long env, ByteBuffer name) bool SDL_UnsetEnvironmentVariable(SDL_Environment * env, char const * name)
-
Field Details
-
SDL_FLT_EPSILON
public static final float SDL_FLT_EPSILON- See Also:
-
SDL_INVALID_UNICODE_CODEPOINT
public static final int SDL_INVALID_UNICODE_CODEPOINT- See Also:
-
-
Method Details
-
nSDL_malloc
public static long nSDL_malloc(long size) void * SDL_malloc(size_t size)
-
SDL_malloc
void * SDL_malloc(size_t size)
-
nSDL_calloc
public static long nSDL_calloc(long nmemb, long size) void * SDL_calloc(size_t nmemb, size_t size)
-
SDL_calloc
void * SDL_calloc(size_t nmemb, size_t size)
-
nSDL_realloc
public static long nSDL_realloc(long mem, long size) void * SDL_realloc(void * mem, size_t size)
-
SDL_realloc
void * SDL_realloc(void * mem, size_t size)
-
nSDL_free
public static void nSDL_free(long mem) void SDL_free(void * mem)
-
SDL_free
void SDL_free(void * mem)
-
SDL_free
void SDL_free(void * mem)
-
SDL_free
void SDL_free(void * mem)
-
SDL_free
void SDL_free(void * mem)
-
nSDL_GetOriginalMemoryFunctions
public static void nSDL_GetOriginalMemoryFunctions(long malloc_func, long calloc_func, long realloc_func, long free_func) void SDL_GetOriginalMemoryFunctions(SDL_malloc_func * malloc_func, SDL_calloc_func * calloc_func, SDL_realloc_func * realloc_func, SDL_free_func * free_func)
-
SDL_GetOriginalMemoryFunctions
public static void SDL_GetOriginalMemoryFunctions(@Nullable PointerBuffer malloc_func, @Nullable PointerBuffer calloc_func, @Nullable PointerBuffer realloc_func, @Nullable PointerBuffer free_func) void SDL_GetOriginalMemoryFunctions(SDL_malloc_func * malloc_func, SDL_calloc_func * calloc_func, SDL_realloc_func * realloc_func, SDL_free_func * free_func)
-
nSDL_GetMemoryFunctions
public static void nSDL_GetMemoryFunctions(long malloc_func, long calloc_func, long realloc_func, long free_func) void SDL_GetMemoryFunctions(SDL_malloc_func * malloc_func, SDL_calloc_func * calloc_func, SDL_realloc_func * realloc_func, SDL_free_func * free_func)
-
SDL_GetMemoryFunctions
public static void SDL_GetMemoryFunctions(@Nullable PointerBuffer malloc_func, @Nullable PointerBuffer calloc_func, @Nullable PointerBuffer realloc_func, @Nullable PointerBuffer free_func) void SDL_GetMemoryFunctions(SDL_malloc_func * malloc_func, SDL_calloc_func * calloc_func, SDL_realloc_func * realloc_func, SDL_free_func * free_func)
-
nSDL_SetMemoryFunctions
public static boolean nSDL_SetMemoryFunctions(long malloc_func, long calloc_func, long realloc_func, long free_func) bool SDL_SetMemoryFunctions(SDL_malloc_func malloc_func, SDL_calloc_func calloc_func, SDL_realloc_func realloc_func, SDL_free_func free_func)
-
SDL_SetMemoryFunctions
public static boolean SDL_SetMemoryFunctions(SDL_malloc_funcI malloc_func, SDL_calloc_funcI calloc_func, SDL_realloc_funcI realloc_func, SDL_free_funcI free_func) bool SDL_SetMemoryFunctions(SDL_malloc_func malloc_func, SDL_calloc_func calloc_func, SDL_realloc_func realloc_func, SDL_free_func free_func)
-
nSDL_aligned_alloc
public static long nSDL_aligned_alloc(long alignment, long size) void * SDL_aligned_alloc(size_t alignment, size_t size)
-
SDL_aligned_alloc
void * SDL_aligned_alloc(size_t alignment, size_t size)
-
nSDL_aligned_free
public static void nSDL_aligned_free(long mem) void SDL_aligned_free(void * mem)
-
SDL_aligned_free
void SDL_aligned_free(void * mem)
-
SDL_GetNumAllocations
public static int SDL_GetNumAllocations()int SDL_GetNumAllocations(void)
-
SDL_GetEnvironment
public static long SDL_GetEnvironment()SDL_Environment * SDL_GetEnvironment(void)
-
SDL_CreateEnvironment
public static long SDL_CreateEnvironment(boolean populated) SDL_Environment * SDL_CreateEnvironment(bool populated)
-
nSDL_GetEnvironmentVariable
public static long nSDL_GetEnvironmentVariable(long env, long name) char const * SDL_GetEnvironmentVariable(SDL_Environment * env, char const * name)
-
SDL_GetEnvironmentVariable
char const * SDL_GetEnvironmentVariable(SDL_Environment * env, char const * name)
-
SDL_GetEnvironmentVariable
char const * SDL_GetEnvironmentVariable(SDL_Environment * env, char const * name)
-
SDL_GetEnvironmentVariables
public static long SDL_GetEnvironmentVariables(long env) void * SDL_GetEnvironmentVariables(SDL_Environment * env)
-
nSDL_SetEnvironmentVariable
public static boolean nSDL_SetEnvironmentVariable(long env, long name, long value, boolean overwrite) bool SDL_SetEnvironmentVariable(SDL_Environment * env, char const * name, char const * value, bool overwrite)
-
SDL_SetEnvironmentVariable
public static boolean SDL_SetEnvironmentVariable(long env, ByteBuffer name, ByteBuffer value, boolean overwrite) bool SDL_SetEnvironmentVariable(SDL_Environment * env, char const * name, char const * value, bool overwrite)
-
SDL_SetEnvironmentVariable
public static boolean SDL_SetEnvironmentVariable(long env, CharSequence name, CharSequence value, boolean overwrite) bool SDL_SetEnvironmentVariable(SDL_Environment * env, char const * name, char const * value, bool overwrite)
-
nSDL_UnsetEnvironmentVariable
public static boolean nSDL_UnsetEnvironmentVariable(long env, long name) bool SDL_UnsetEnvironmentVariable(SDL_Environment * env, char const * name)
-
SDL_UnsetEnvironmentVariable
bool SDL_UnsetEnvironmentVariable(SDL_Environment * env, char const * name)
-
SDL_UnsetEnvironmentVariable
bool SDL_UnsetEnvironmentVariable(SDL_Environment * env, char const * name)
-
SDL_DestroyEnvironment
public static void SDL_DestroyEnvironment(long env) void SDL_DestroyEnvironment(SDL_Environment * env)
-
nSDL_getenv
public static long nSDL_getenv(long name) char const * SDL_getenv(char const * name)
-
SDL_getenv
char const * SDL_getenv(char const * name)
-
SDL_getenv
char const * SDL_getenv(char const * name)
-
nSDL_getenv_unsafe
public static long nSDL_getenv_unsafe(long name) char const * SDL_getenv_unsafe(char const * name)
-
SDL_getenv_unsafe
char const * SDL_getenv_unsafe(char const * name)
-
SDL_getenv_unsafe
char const * SDL_getenv_unsafe(char const * name)
-
nSDL_setenv_unsafe
public static int nSDL_setenv_unsafe(long name, long value, int overwrite) int SDL_setenv_unsafe(char const * name, char const * value, int overwrite)
-
SDL_setenv_unsafe
int SDL_setenv_unsafe(char const * name, char const * value, int overwrite)
-
SDL_setenv_unsafe
int SDL_setenv_unsafe(char const * name, char const * value, int overwrite)
-
nSDL_unsetenv_unsafe
public static int nSDL_unsetenv_unsafe(long name) int SDL_unsetenv_unsafe(char const * name)
-
SDL_unsetenv_unsafe
int SDL_unsetenv_unsafe(char const * name)
-
SDL_unsetenv_unsafe
int SDL_unsetenv_unsafe(char const * name)
-
nSDL_qsort
public static void nSDL_qsort(long base, long nmemb, long size, long compare) void SDL_qsort(void * base, size_t nmemb, size_t size, SDL_CompareCallback compare)
-
SDL_qsort
void SDL_qsort(void * base, size_t nmemb, size_t size, SDL_CompareCallback compare)
-
nSDL_bsearch
public static long nSDL_bsearch(long key, long base, long nmemb, long size, long compare) void * SDL_bsearch(void const * key, void const * base, size_t nmemb, size_t size, SDL_CompareCallback compare)
-
SDL_bsearch
public static @Nullable ByteBuffer SDL_bsearch(ByteBuffer key, ByteBuffer base, long nmemb, long size, SDL_CompareCallbackI compare) void * SDL_bsearch(void const * key, void const * base, size_t nmemb, size_t size, SDL_CompareCallback compare)
-
nSDL_qsort_r
public static void nSDL_qsort_r(long base, long nmemb, long size, long compare, long userdata) void SDL_qsort_r(void * base, size_t nmemb, size_t size, SDL_CompareCallback_r compare, void * userdata)
-
SDL_qsort_r
public static void SDL_qsort_r(ByteBuffer base, long nmemb, long size, SDL_CompareCallback_rI compare, long userdata) void SDL_qsort_r(void * base, size_t nmemb, size_t size, SDL_CompareCallback_r compare, void * userdata)
-
nSDL_bsearch_r
public static long nSDL_bsearch_r(long key, long base, long nmemb, long size, long compare, long userdata) void * SDL_bsearch_r(void const * key, void const * base, size_t nmemb, size_t size, SDL_CompareCallback_r compare, void * userdata)
-
SDL_bsearch_r
public static @Nullable ByteBuffer SDL_bsearch_r(ByteBuffer key, ByteBuffer base, long nmemb, long size, SDL_CompareCallback_rI compare, long userdata) void * SDL_bsearch_r(void const * key, void const * base, size_t nmemb, size_t size, SDL_CompareCallback_r compare, void * userdata)
-
nSDL_crc16
public static short nSDL_crc16(short crc, long data, long len) Uint16 SDL_crc16(Uint16 crc, void const * data, size_t len)
-
SDL_crc16
Uint16 SDL_crc16(Uint16 crc, void const * data, size_t len)
-
nSDL_crc32
public static int nSDL_crc32(int crc, long data, long len) Uint32 SDL_crc32(Uint32 crc, void const * data, size_t len)
-
SDL_crc32
Uint32 SDL_crc32(Uint32 crc, void const * data, size_t len)
-
nSDL_murmur3_32
public static int nSDL_murmur3_32(long data, long len, int seed) Uint32 SDL_murmur3_32(void const * data, size_t len, Uint32 seed)
-
SDL_murmur3_32
Uint32 SDL_murmur3_32(void const * data, size_t len, Uint32 seed)
-
nSDL_memset4
public static long nSDL_memset4(long dst, int val, long dwords) void * SDL_memset4(void * dst, Uint32 val, size_t dwords)
-
SDL_memset4
void * SDL_memset4(void * dst, Uint32 val, size_t dwords)
-
SDL_memset4
void * SDL_memset4(void * dst, Uint32 val, size_t dwords)
-
nSDL_memcmp
public static int nSDL_memcmp(long s1, long s2, long len) int SDL_memcmp(void const * s1, void const * s2, size_t len)
-
SDL_memcmp
int SDL_memcmp(void const * s1, void const * s2, size_t len)
-
SDL_srand
public static void SDL_srand(long seed) void SDL_srand(Uint64 seed)
-
SDL_rand
public static int SDL_rand(int n) Sint32 SDL_rand(Sint32 n)
-
SDL_randf
public static float SDL_randf()float SDL_randf(void)
-
SDL_rand_bits
public static int SDL_rand_bits()Uint32 SDL_rand_bits(void)
-
nSDL_rand_r
public static int nSDL_rand_r(long state, int n) Sint32 SDL_rand_r(Uint64 * state, Sint32 n)
-
SDL_rand_r
Sint32 SDL_rand_r(Uint64 * state, Sint32 n)
-
nSDL_randf_r
public static float nSDL_randf_r(long state) float SDL_randf_r(Uint64 * state)
-
SDL_randf_r
float SDL_randf_r(Uint64 * state)
-
nSDL_rand_bits_r
public static int nSDL_rand_bits_r(long state) Uint32 SDL_rand_bits_r(Uint64 * state)
-
SDL_rand_bits_r
Uint32 SDL_rand_bits_r(Uint64 * state)
-
SDL_FOURCC
public static int SDL_FOURCC(byte A, byte B, byte C, byte D) uint32_t SDL_FOURCC(uint8_t A, uint8_t B, uint8_t C, uint8_t D)
-