SDL3
view release on metacpan or search on metacpan
lib/SDL3.pm view on Meta::CPAN
_affix_and_export SDL_MapSurfaceRGB => [ Pointer [ SDL_Surface() ], UInt8, UInt8, UInt8 ], UInt32;
_affix_and_export SDL_MapSurfaceRGBA => [ Pointer [ SDL_Surface() ], UInt8, UInt8, UInt8, UInt8 ], UInt32;
_affix_and_export
SDL_ReadSurfacePixel => [ Pointer [ SDL_Surface() ], Int, Int, Pointer [UInt8], Pointer [UInt8], Pointer [UInt8], Pointer [UInt8] ],
Bool;
_affix_and_export
SDL_ReadSurfacePixelFloat => [ Pointer [ SDL_Surface() ], Int, Int, Pointer [Float], Pointer [Float], Pointer [Float], Pointer [Float] ],
Bool;
_affix_and_export SDL_WriteSurfacePixel => [ Pointer [ SDL_Surface() ], Int, Int, UInt8, UInt8, UInt8, UInt8 ], Bool;
_affix_and_export SDL_WriteSurfacePixelFloat => [ Pointer [ SDL_Surface() ], Int, Int, Float, Float, Float, Float ], Bool;
}
=head3 C<:stdinc> - Standard Library Functionality
SDL provides its own implementation of some of the most important C runtime functions. Using these functions allows an
app to have access to common C functionality without depending on a specific C runtime (or a C runtime at all).
See L<SDL3: CategoryStdinc|https://wiki.libsdl.org/SDL3/CategoryStdinc>
=cut
sub _stdinc() {
state $done++ && return;
_error();
#
_affix_and_export SDL_malloc => [Size_t], Pointer [Void];
_affix_and_export SDL_calloc => [ Size_t, Size_t ], Pointer [Void];
_affix_and_export SDL_realloc => [ Pointer [Void], Size_t ], Pointer [Void];
_affix_and_export SDL_free => [ Pointer [Void] ], Void;
_typedef_and_export SDL_malloc_func => Callback [ [Size_t] => Pointer [Void] ];
_typedef_and_export SDL_calloc_func => Callback [ [ Size_t, Size_t ] => Pointer [Void] ];
_typedef_and_export SDL_realloc_func => Callback [ [ Pointer [Void], Size_t ] => Pointer [Void] ];
_typedef_and_export SDL_free_func => Callback [ [ Pointer [Void] ] => Void ];
_affix_and_export
SDL_GetOriginalMemoryFunctions =>
[ Pointer [ SDL_malloc_func() ], Pointer [ SDL_calloc_func() ], Pointer [ SDL_realloc_func() ], Pointer [ SDL_free_func() ] ],
Void;
_affix_and_export
SDL_GetMemoryFunctions =>
[ Pointer [ SDL_malloc_func() ], Pointer [ SDL_calloc_func() ], Pointer [ SDL_realloc_func() ], Pointer [ SDL_free_func() ] ],
Void;
_affix_and_export
SDL_SetMemoryFunctions =>
[ Pointer [ SDL_malloc_func() ], Pointer [ SDL_calloc_func() ], Pointer [ SDL_realloc_func() ], Pointer [ SDL_free_func() ] ],
Void;
_affix_and_export SDL_aligned_alloc => [ Size_t, Size_t ], Pointer [Void];
_affix_and_export SDL_aligned_free => [ Pointer [Void] ], Void;
_affix_and_export SDL_GetNumAllocations => [], Int;
_typedef_and_export SDL_Environment => Pointer [Void];
_affix_and_export SDL_GetEnvironment => [], SDL_Environment();
_affix_and_export
SDL_CreateEnvironment => [Bool],
SDL_Environment();
_affix_and_export SDL_GetEnvironmentVariable => [ SDL_Environment(), String ], String;
_affix_and_export SDL_GetEnvironmentVariables => [ SDL_Environment() ], Pointer [String];
_affix_and_export SDL_SetEnvironmentVariable => [ SDL_Environment(), String, String, Bool ], Bool;
_affix_and_export SDL_UnsetEnvironmentVariable => [ SDL_Environment(), String ], Bool;
_affix_and_export SDL_DestroyEnvironment => [ SDL_Environment() ], Void;
_affix_and_export SDL_getenv => [String], String;
_affix_and_export SDL_getenv_unsafe => [String], String;
_affix_and_export SDL_setenv_unsafe => [ String, String, Int ], Int;
_affix_and_export SDL_unsetenv_unsafe => [String], Int;
_typedef_and_export SDL_CompareCallback => Callback [ [ Pointer [Void], Pointer [Void] ] => Int ];
_affix_and_export SDL_qsort => [ Pointer [Void], Size_t, Size_t, SDL_CompareCallback() ], Void;
_affix_and_export SDL_bsearch => [ Pointer [Void], Pointer [Void], Size_t, Size_t, SDL_CompareCallback() ], Pointer [Void];
_typedef_and_export SDL_CompareCallback_r => Callback [ [ Pointer [Void], Pointer [Void], Pointer [Void] ] => Int ];
_affix_and_export SDL_qsort_r => [ Pointer [Void], Size_t, Size_t, SDL_CompareCallback_r(), Pointer [Void] ], Void;
_affix_and_export
SDL_bsearch_r => [ Pointer [Void], Pointer [Void], Size_t, Size_t, SDL_CompareCallback_r(), Pointer [Void] ],
Pointer [Void];
_affix_and_export SDL_abs => [Int], Int;
_func_and_export SDL_min => sub ( $x, $y ) { ( ( ($x) < ($y) ) ? ($x) : ($y) ) };
_func_and_export SDL_max => sub ( $x, $y ) { ( ( ($x) > ($y) ) ? ($x) : ($y) ) };
_func_and_export SDL_clamp => sub ( $x, $a, $b ) { ( ( ($x) < ($a) ) ? ($a) : ( ( ($x) > ($b) ) ? ($b) : ($x) ) ) };
_affix_and_export SDL_isalpha => [Int], Int;
_affix_and_export SDL_isalnum => [Int], Int;
_affix_and_export SDL_isblank => [Int], Int;
_affix_and_export SDL_iscntrl => [Int], Int;
_affix_and_export SDL_isdigit => [Int], Int;
_affix_and_export SDL_isxdigit => [Int], Int;
_affix_and_export SDL_ispunct => [Int], Int;
_affix_and_export SDL_isspace => [Int], Int;
_affix_and_export SDL_isupper => [Int], Int;
_affix_and_export SDL_islower => [Int], Int;
_affix_and_export SDL_isprint => [Int], Int;
_affix_and_export SDL_isgraph => [Int], Int;
_affix_and_export SDL_toupper => [Int], Int;
_affix_and_export SDL_tolower => [Int], Int;
_affix_and_export SDL_crc16 => [ UInt16, Pointer [Void], Size_t ], UInt16;
_affix_and_export SDL_crc32 => [ UInt32, Pointer [Void], Size_t ], UInt32;
_affix_and_export SDL_murmur3_32 => [ Pointer [Void], Size_t, UInt32 ], UInt32;
_affix_and_export SDL_memcpy => [ Pointer [Void], Pointer [Void], Size_t ], Pointer [Void];
_affix_and_export SDL_memmove => [ Pointer [Void], Pointer [Void], Size_t ], Pointer [Void];
_affix_and_export SDL_memset => [ Pointer [Void], Int, Size_t ], Pointer [Void];
_affix_and_export SDL_memset4 => [ Pointer [Void], UInt32, Size_t ], Pointer [Void];
_affix_and_export SDL_memcmp => [ Pointer [Void], Pointer [Void], Size_t ], Int;
_affix_and_export SDL_wcslen => [ Pointer [WChar] ], Size_t;
_affix_and_export SDL_wcsnlen => [ Pointer [WChar], Size_t ], Size_t;
_affix_and_export SDL_wcslcpy => [ Pointer [WChar], WString, Size_t ], Size_t;
_affix_and_export SDL_wcslcat => [ Pointer [WChar], WString, Size_t ], Size_t;
_affix_and_export SDL_wcsdup => [WString], WString;
_affix_and_export SDL_wcsstr => [ WString, WString ], WString;
_affix_and_export SDL_wcsnstr => [ WString, WString, Size_t ], WString;
_affix_and_export SDL_wcscmp => [ WString, WString ], Int;
_affix_and_export SDL_wcsncmp => [ WString, WString, Size_t ], Int;
_affix_and_export SDL_wcscasecmp => [ WString, WString ], Int;
_affix_and_export SDL_wcsncasecmp => [ WString, WString, Size_t ], Int;
_affix_and_export SDL_wcstol => [ WString, Pointer [ Pointer [WChar] ], Int ], Long;
_affix_and_export SDL_strlen => [String], Size_t;
_affix_and_export SDL_strnlen => [ String, Size_t ], Size_t;
_affix_and_export SDL_strlcpy => [ Pointer [UInt8], String, Size_t ], Size_t;
_affix_and_export SDL_utf8strlcpy => [ Pointer [UInt8], String, Size_t ], Size_t;
_affix_and_export SDL_strlcat => [ Pointer [UInt8], String, Size_t ], Size_t;
_affix_and_export SDL_strdup => [String], String;
_affix_and_export SDL_strndup => [ String, Size_t ], String;
_affix_and_export SDL_strrev => [ Pointer [UInt8] ], String;
_affix_and_export SDL_strupr => [ Pointer [UInt8] ], String;
_affix_and_export SDL_strlwr => [ Pointer [UInt8] ], String;
_affix_and_export SDL_strchr => [ String, Int ], String;
_affix_and_export SDL_strrchr => [ String, Int ], String;
_affix_and_export SDL_strstr => [ String, String ], String;
_affix_and_export SDL_strnstr => [ String, String, Size_t ], String;
( run in 1.444 second using v1.01-cache-2.11-cpan-6aa56a78535 )