SDL2: Remove useless buged code
in sdl2.vapi there are code snippets trying to add a reference counter which doesn't work and prevents valac from giving the right information (use an unowned instead)
void main()
{
var pa = new SDL.Video.Palette(42);
var pb = pa;
}
this main compile, but can't link because SDL_Palette_up and SDL_Palette_down doesn't exist
this code should be removed or commented out until the CCODE attributes ref_function and unref_function generate the associated functions in addition to calling them.
patch:patch
Edited by Hydral Nathan Jordan