Mercurial > pub > dyncall > bindings
view R/rdyncall/inst/dynports/SDL_image.R @ 63:9b6cdffd30dd
- further fixes of inccorect overflow errors for int (and long on LLP64 systems)
* prev commit had bugs
* added overflow tests for also int, long, long long (for both, lp64 and llp64)
- while at it, fixing a reference leak when not using python with utf8 caching
author | Tassilo Philipp |
---|---|
date | Sun, 19 May 2024 15:33:18 +0200 |
parents | 0cfcc391201f |
children |
line wrap: on
line source
dynbind(c("SDL_image","SDL_image-1.2","SDL_image-1.2.so.0"), " IMG_Init(i)i; IMG_InvertAlpha(i)i; IMG_Linked_Version()*<SDL_version>; IMG_Load(*c)*<SDL_Surface>; IMG_LoadBMP_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadCUR_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadGIF_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadICO_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadJPG_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadLBM_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadPCX_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadPNG_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadPNM_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadTGA_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadTIF_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadTyped_RW(*<SDL_RWops>i*c)*<SDL_Surface>; IMG_LoadXCF_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadXPM_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_LoadXV_RW(*<SDL_RWops>)*<SDL_Surface>; IMG_Load_RW(*<SDL_RWops>i)*<SDL_Surface>; IMG_Quit()v; IMG_ReadXPMFromArray(**c)*<SDL_Surface>; IMG_isBMP(*<SDL_RWops>)i; IMG_isCUR(*<SDL_RWops>)i; IMG_isGIF(*<SDL_RWops>)i; IMG_isICO(*<SDL_RWops>)i; IMG_isJPG(*<SDL_RWops>)i; IMG_isLBM(*<SDL_RWops>)i; IMG_isPCX(*<SDL_RWops>)i; IMG_isPNG(*<SDL_RWops>)i; IMG_isPNM(*<SDL_RWops>)i; IMG_isTIF(*<SDL_RWops>)i; IMG_isXCF(*<SDL_RWops>)i; IMG_isXPM(*<SDL_RWops>)i; IMG_isXV(*<SDL_RWops>)i; ") IMG_INIT_JPG=1; IMG_INIT_PNG=2; IMG_INIT_TIF=4;