mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-09-17 10:34:48 +00:00
Use SDL_wcslen in vendored gameinput.cpp
This commit is contained in:
committed by
Anonymous Maarten
parent
bfd81a0da4
commit
667eeb1a7e
@@ -162,6 +162,7 @@ def find_symbols_in_file(file: pathlib.Path) -> int:
|
||||
allowed_extensions = [ ".c", ".cpp", ".m", ".h", ".hpp", ".cc" ]
|
||||
|
||||
excluded_paths = [
|
||||
"src/core/windows/gameinput/gameinput.cpp",
|
||||
"src/stdlib",
|
||||
"src/libm",
|
||||
"src/hidapi",
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
#define memcpy_s(DST, DST_SIZE, SRC, SRC_SIZE) SDL_memcpy(DST, SRC, SDL_min(DST_SIZE, SRC_SIZE))
|
||||
#define wcscpy_s(DST, DST_SIZE, SRC) SDL_wcslcpy(DST, SRC, DST_SIZE)
|
||||
#define wcscat_s(DST, DST_SIZE, SRC) SDL_wcslcat(DST, SRC, DST_SIZE)
|
||||
#define wcslen(S) SDL_wcslen(S)
|
||||
|
||||
#if __cplusplus < 2011003L
|
||||
#define noexcept
|
||||
|
||||
Reference in New Issue
Block a user