view R/rdyncall/inst/dynports/SDL_image.R @ 37:8c8f848131c6

- version bump - better doc - made calling convention mode reset by default, as only way to specify convention used is via signature string
author Tassilo Philipp
date Mon, 13 Apr 2020 20:08:54 +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;