Simple Directmedia Layer
fork

Configure Feed

Select the types of activity you want to include in your feed.

examples: Link to SDL integer types in code examples, too.

+3 -1
+3 -1
examples/highlight-plugin.lua
··· 44 44 -- SDL keywords start with SDL_ 45 45 -- if this pattern applies to the token, we return the URL 46 46 -- if we return nothing, the token is outputted as is 47 - if string.find(token, "SDL_")==1 then 47 + if ( (token == "Uint8") or (token == "Uint16") or (token == "Uint32") or (token == "Uint64") or 48 + (token == "Sint8") or (token == "Sint16") or (token == "Sint32") or (token == "Sint64") or 49 + (string.find(token, "SDL_") == 1) ) then 48 50 return getURL(token) 49 51 end 50 52