/usr/share/vala-0.14/vapi/sdl-image.vapi is in valac-0.14 0.14.2-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | [CCode (cheader_filename = "SDL_image.h")]
namespace SDLImage {
//! Defines
[CCode (cname = "int", cprefix = "IMG_INIT_")]
public enum InitFlags {
JPG,
PNG,
TIF
}
//! General
[CCode (cname = "IMG_Linked_Version")]
public static unowned SDL.Version linked();
[CCode (cname = "IMG_Init")]
public static int init(int flags);
[CCode (cname = "IMG_Quit")]
public static void quit();
//! Loading
[CCode (cname = "IMG_Load")]
public static SDL.Surface? load(string file);
[CCode (cname = "IMG_Load_RW")]
public static SDL.Surface? load_rw(SDL.RWops src, bool freesrc = false);
[CCode (cname = "IMG_LoadTyped_RW")]
public static SDL.Surface? load_rw_typed(SDL.RWops src, bool freesrc = false, string type);
[CCode (cname = "IMG_LoadCUR_RW")]
public static SDL.Surface? load_cur(SDL.RWops src);
[CCode (cname = "IMG_LoadICO_RW")]
public static SDL.Surface? load_ico(SDL.RWops src);
[CCode (cname = "IMG_LoadBMP_RW")]
public static SDL.Surface? load_bmp(SDL.RWops src);
[CCode (cname = "IMG_LoadPNM_RW")]
public static SDL.Surface? load_pnm(SDL.RWops src);
[CCode (cname = "IMG_LoadXPM_RW")]
public static SDL.Surface? load_xpm(SDL.RWops src);
[CCode (cname = "IMG_LoadXCF_RW")]
public static SDL.Surface? load_xcf(SDL.RWops src);
[CCode (cname = "IMG_LoadPCX_RW")]
public static SDL.Surface? load_pcx(SDL.RWops src);
[CCode (cname = "IMG_LoadGIF_RW")]
public static SDL.Surface? load_gif(SDL.RWops src);
[CCode (cname = "IMG_LoadJPG_RW")]
public static SDL.Surface? load_jpg(SDL.RWops src);
[CCode (cname = "IMG_LoadTIF_RW")]
public static SDL.Surface? load_tif(SDL.RWops src);
[CCode (cname = "IMG_LoadPNG_RW")]
public static SDL.Surface? load_png(SDL.RWops src);
[CCode (cname = "IMG_LoadTGA_RW")]
public static SDL.Surface? load_tga(SDL.RWops src);
[CCode (cname = "IMG_LoadLBM_RW")]
public static SDL.Surface? load_lbm(SDL.RWops src);
[CCode (cname = "IMG_LoadXV_RW")]
public static SDL.Surface? load_xv(SDL.RWops src);
[CCode (cname = "IMG_ReadXPMFromArray")]
public static SDL.Surface? read_xpm(char** xpmdata);
//!Info
[CCode (cname = "IMG_isCUR")]
public static bool is_cur(SDL.RWops src);
[CCode (cname = "IMG_isICO")]
public static bool is_ico(SDL.RWops src);
[CCode (cname = "IMG_isBMP")]
public static bool is_bmp(SDL.RWops src);
[CCode (cname = "IMG_isPNM")]
public static bool is_pnm(SDL.RWops src);
[CCode (cname = "IMG_isXPM")]
public static bool is_xpm(SDL.RWops src);
[CCode (cname = "IMG_isXCF")]
public static bool is_xcf(SDL.RWops src);
[CCode (cname = "IMG_isPCX")]
public static bool is_pcx(SDL.RWops src);
[CCode (cname = "IMG_isGIF")]
public static bool is_gif(SDL.RWops src);
[CCode (cname = "IMG_isJPG")]
public static bool is_jpg(SDL.RWops src);
[CCode (cname = "IMG_isTIF")]
public static bool is_tif(SDL.RWops src);
[CCode (cname = "IMG_isPNG")]
public static bool is_png(SDL.RWops src);
[CCode (cname = "IMG_isLBM")]
public static bool is_lbm(SDL.RWops src);
[CCode (cname = "IMG_isXV")]
public static bool is_xv(SDL.RWops src);
//! Errors
[CCode (cname="IMG_SetError")]
public static void set_error(string format, ...);
[CCode (cname="IMG_GetError")]
public static unowned string get_error();
} // SDLImage
|