mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-27 05:43:29 +08:00
examples: Link to SDL integer types in code examples, too.
This commit is contained in:
parent
7713a7eec7
commit
f4c2c09f78
@ -44,7 +44,9 @@ function syntaxUpdate(desc)
|
||||
-- SDL keywords start with SDL_
|
||||
-- if this pattern applies to the token, we return the URL
|
||||
-- if we return nothing, the token is outputted as is
|
||||
if string.find(token, "SDL_")==1 then
|
||||
if ( (token == "Uint8") or (token == "Uint16") or (token == "Uint32") or (token == "Uint64") or
|
||||
(token == "Sint8") or (token == "Sint16") or (token == "Sint32") or (token == "Sint64") or
|
||||
(string.find(token, "SDL_") == 1) ) then
|
||||
return getURL(token)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user