view R/rdyncall/inst/dynports/SDL_image.R @ 9:8a45a05ff64e

- go binding cleanup, not enforcing relative paths anymore, readme update
author cslag
date Sat, 26 Mar 2016 01:09:51 +0100
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;