view R/rdyncall/inst/dynports/SDL_image.R @ 28:edbbd467f50a

python binding: - update to dyncall 1.1 - Python 3 support (supports both, Python 2 and 3) - using the Capsule API over PyCObject, when available - support for python unicode strings (for both, Python 2 and 3) - doc cleanup ruby binding: - doc cleanup
author Tassilo Philipp
date Tue, 07 Apr 2020 21:16:37 +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;