public uchar patch;
[CCode (cheader_filename="SDL_version.h", cname="SDL_Linked_Version")]
- public static weak Version linked();
+ public static unowned Version linked();
}// Version
public static void set_error(string format, ...);
[CCode (cname="SDL_GetError")]
- public static weak string get_error();
+ public static unowned string get_error();
[CCode (cname="SDL_ClearError")]
public static void clear_error();
[Compact]
public class Video {
[CCode (cname="SDL_VideoDriverName")]
- public static weak string? driver_name(string namebuf, int maxlen);
+ public static unowned string? driver_name(string namebuf, int maxlen);
[CCode (cname="SDL_SetGamma")]
public static int set_gamma(float red, float green, float blue);
[Compact]
public class Screen : Surface {
[CCode (cname="SDL_GetVideoSurface")]
- public static weak Screen instance();
+ public static unowned Screen instance();
[CCode (cname="SDL_SetVideoMode")]
- public static weak Screen? set_video_mode(int width, int height, int bpp, uint32 flags);
+ public static unowned Screen? set_video_mode(int width, int height, int bpp, uint32 flags);
[CCode (cname="SDL_VideoModeOK")]
public static int check_video_mode(int width, int height, int bpp, uint32 flags);
public int current_h;
[CCode (cname="SDL_GetVideoInfo")]
- public static weak VideoInfo get();
+ public static unowned VideoInfo get();
}// VideoInfo
[CCode (cname="int", cprefix="SDL_")]
public static void get_repeat(ref int delay, ref int interval);
[CCode (cname="SDL_GetKeyState")]
- public static weak uchar[] get_keys();
+ public static unowned uchar[] get_keys();
[CCode (cname="SDL_GetModState")]
public static KeyModifier get_modifiers();
public static void set_modifiers(KeyModifier modstate);
[CCode (cname="SDL_GetKeyName")]
- public static weak string get_name(KeySymbol key);
+ public static unowned string get_name(KeySymbol key);
}// Key
[CCode (cname="int", cprefix="SDLK_", cheader_filename="SDL_keysym.h")]
[Compact]
public class Joystick {
[CCode (cname="SDL_JoystickName")]
- public static weak string get_name(int device_index);
+ public static unowned string get_name(int device_index);
[CCode (cname="SDL_JoystickOpened")]
public static int is_open(int device_index);
[Compact]
public class Audio {
[CCode (cname="SDL_AudioDriverName")]
- public static weak string driver_name(string namebuf, int maxlen);
+ public static unowned string driver_name(string namebuf, int maxlen);
[CCode (cname="SDL_OpenAudio")]
public static int open(AudioSpec desired, AudioSpec obtained);
[CCode (cname = "TIFFFdOpen")]
public static TIFF FdOpen (int p1, string p2, string p3);
[CCode (cname = "TIFFGetVersion")]
- public static weak string GetVersion ();
+ public static unowned string GetVersion ();
[CCode (cname = "TIFFFindCODEC")]
- public static weak Codec FindCODEC (ushort p1);
+ public static unowned Codec FindCODEC (ushort p1);
[CCode (cname = "TIFFGetBitRevTable")]
- public static weak string GetBitRevTable (int p1);
+ public static unowned string GetBitRevTable (int p1);
[CCode (cname = "TIFFGetConfiguredCODECs")]
public static Codec GetConfiguredCODECs ();
[CCode (cname = "TIFFRGBAImageBegin")]