sdl_api_generate.pl