Package org.lwjgl.sdl
Class SDLStdinc
java.lang.Object
org.lwjgl.sdl.SDLStdinc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromSDL.getLibrary(). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic longnSDL_aligned_alloc(long alignment, long size) void * SDL_aligned_alloc(size_t alignment, size_t size)static voidnSDL_aligned_free(long mem) void SDL_aligned_free(void * mem)static longnSDL_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 longnSDL_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 longnSDL_calloc(long nmemb, long size) void * SDL_calloc(size_t nmemb, size_t size)static shortnSDL_crc16(short crc, long data, long len) Uint16 SDL_crc16(Uint16 crc, void const * data, size_t len)static intnSDL_crc32(int crc, long data, long len) Uint32 SDL_crc32(Uint32 crc, void const * data, size_t len)static voidnSDL_free(long mem) void SDL_free(void * mem)static longnSDL_getenv(long name) char const * SDL_getenv(char const * name)static longnSDL_getenv_unsafe(long name) char const * SDL_getenv_unsafe(char const * name)static longnSDL_GetEnvironmentVariable(long env, long name) char const * SDL_GetEnvironmentVariable(SDL_Environment * env, char const * name)static voidnSDL_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 voidnSDL_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 longnSDL_malloc(long size) void * SDL_malloc(size_t size)static intnSDL_memcmp(long s1, long s2, long len) int SDL_memcmp(void const * s1, void const * s2, size_t len)static longnSDL_memset4(long dst, int val, long dwords) void * SDL_memset4(void * dst, Uint32 val, size_t dwords)static intnSDL_murmur3_32(long data, long len, int seed) Uint32 SDL_murmur3_32(void const * data, size_t len, Uint32 seed)static voidnSDL_qsort(long base, long nmemb, long size, long compare) void SDL_qsort(void * base, size_t nmemb, size_t size, SDL_CompareCallback compare)static voidnSDL_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 intnSDL_rand_bits_r(long state) Uint32 SDL_rand_bits_r(Uint64 * state)static intnSDL_rand_r(long state, int n) Sint32 SDL_rand_r(Uint64 * state, Sint32 n)static floatnSDL_randf_r(long state) float SDL_randf_r(Uint64 * state)static longnSDL_realloc(long mem, long size) void * SDL_realloc(void * mem, size_t size)static intnSDL_setenv_unsafe(long name, long value, int overwrite) int SDL_setenv_unsafe(char const * name, char const * value, int overwrite)static booleannSDL_SetEnvironmentVariable(long env, long name, long value, boolean overwrite) bool SDL_SetEnvironmentVariable(SDL_Environment * env, char const * name, char const * value, bool overwrite)static booleannSDL_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 intnSDL_unsetenv_unsafe(long name) int SDL_unsetenv_unsafe(char const * name)static booleannSDL_UnsetEnvironmentVariable(long env, long name) bool SDL_UnsetEnvironmentVariable(SDL_Environment * env, char const * name)static @Nullable ByteBufferSDL_aligned_alloc(long alignment, long size) void * SDL_aligned_alloc(size_t alignment, size_t size)static voidSDL_aligned_free(@Nullable ByteBuffer mem) void SDL_aligned_free(void * mem)static @Nullable ByteBufferSDL_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 ByteBufferSDL_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 ByteBufferSDL_calloc(long nmemb, long size) void * SDL_calloc(size_t nmemb, size_t size)static shortSDL_crc16(short crc, ByteBuffer data) Uint16 SDL_crc16(Uint16 crc, void const * data, size_t len)static intSDL_crc32(int crc, ByteBuffer data) Uint32 SDL_crc32(Uint32 crc, void const * data, size_t len)static longSDL_CreateEnvironment(boolean populated) SDL_Environment * SDL_CreateEnvironment(bool populated)static voidSDL_DestroyEnvironment(long env) void SDL_DestroyEnvironment(SDL_Environment * env)static intSDL_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 voidSDL_free(@Nullable ByteBuffer mem) void SDL_free(void * mem)static voidvoid SDL_free(void * mem)static voidSDL_free(@Nullable LongBuffer mem) void SDL_free(void * mem)static voidSDL_free(@Nullable PointerBuffer mem) void SDL_free(void * mem)static @Nullable StringSDL_getenv(CharSequence name) char const * SDL_getenv(char const * name)static @Nullable StringSDL_getenv(ByteBuffer name) char const * SDL_getenv(char const * name)static @Nullable Stringchar const * SDL_getenv_unsafe(char const * name)static @Nullable StringSDL_getenv_unsafe(ByteBuffer name) char const * SDL_getenv_unsafe(char const * name)static longSDL_Environment * SDL_GetEnvironment(void)static @Nullable StringSDL_GetEnvironmentVariable(long env, CharSequence name) char const * SDL_GetEnvironmentVariable(SDL_Environment * env, char const * name)static @Nullable StringSDL_GetEnvironmentVariable(long env, ByteBuffer name) char const * SDL_GetEnvironmentVariable(SDL_Environment * env, char const * name)static longSDL_GetEnvironmentVariables(long env) void * SDL_GetEnvironmentVariables(SDL_Environment * env)static voidSDL_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 intint SDL_GetNumAllocations(void)static voidSDL_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 ByteBufferSDL_malloc(long size) void * SDL_malloc(size_t size)static intSDL_memcmp(ByteBuffer s1, ByteBuffer s2) int SDL_memcmp(void const * s1, void const * s2, size_t len)static longSDL_memset4(ByteBuffer dst, int val) void * SDL_memset4(void * dst, Uint32 val, size_t dwords)static longSDL_memset4(IntBuffer dst, int val) void * SDL_memset4(void * dst, Uint32 val, size_t dwords)static intSDL_murmur3_32(ByteBuffer data, int seed) Uint32 SDL_murmur3_32(void const * data, size_t len, Uint32 seed)static voidSDL_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 voidSDL_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 intSDL_rand(int n) Sint32 SDL_rand(Sint32 n)static intUint32 SDL_rand_bits(void)static intSDL_rand_bits_r(LongBuffer state) Uint32 SDL_rand_bits_r(Uint64 * state)static intSDL_rand_r(LongBuffer state, int n) Sint32 SDL_rand_r(Uint64 * state, Sint32 n)static floatfloat SDL_randf(void)static floatSDL_randf_r(LongBuffer state) float SDL_randf_r(Uint64 * state)static @Nullable ByteBufferSDL_realloc(@Nullable ByteBuffer mem, long size) void * SDL_realloc(void * mem, size_t size)static intSDL_setenv_unsafe(CharSequence name, CharSequence value, int overwrite) int SDL_setenv_unsafe(char const * name, char const * value, int overwrite)static intSDL_setenv_unsafe(ByteBuffer name, ByteBuffer value, int overwrite) int SDL_setenv_unsafe(char const * name, char const * value, int overwrite)static booleanSDL_SetEnvironmentVariable(long env, CharSequence name, CharSequence value, boolean overwrite) bool SDL_SetEnvironmentVariable(SDL_Environment * env, char const * name, char const * value, bool overwrite)static booleanSDL_SetEnvironmentVariable(long env, ByteBuffer name, ByteBuffer value, boolean overwrite) bool SDL_SetEnvironmentVariable(SDL_Environment * env, char const * name, char const * value, bool overwrite)static booleanSDL_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 voidSDL_srand(long seed) void SDL_srand(Uint64 seed)static intint SDL_unsetenv_unsafe(char const * name)static intint SDL_unsetenv_unsafe(char const * name)static booleanSDL_UnsetEnvironmentVariable(long env, CharSequence name) bool SDL_UnsetEnvironmentVariable(SDL_Environment * env, char const * name)static booleanSDL_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)
-