38 lines
1.3 KiB
Zig
38 lines
1.3 KiB
Zig
// SDL3 C bindings wrapper
|
|
pub const c = @cImport({
|
|
@cInclude("SDL3/SDL.h");
|
|
@cInclude("SDL3/SDL_audio.h");
|
|
@cInclude("SDL3/SDL_blendmode.h");
|
|
@cInclude("SDL3/SDL_camera.h");
|
|
@cInclude("SDL3/SDL_clipboard.h");
|
|
@cInclude("SDL3/SDL_dialog.h");
|
|
@cInclude("SDL3/SDL_endian.h");
|
|
@cInclude("SDL3/SDL_error.h");
|
|
@cInclude("SDL3/SDL_events.h");
|
|
@cInclude("SDL3/SDL_filesystem.h");
|
|
@cInclude("SDL3/SDL_gamepad.h");
|
|
@cInclude("SDL3/SDL_gpu.h");
|
|
@cInclude("SDL3/SDL_haptic.h");
|
|
@cInclude("SDL3/SDL_hints.h");
|
|
@cInclude("SDL3/SDL_init.h");
|
|
@cInclude("SDL3/SDL_joystick.h");
|
|
@cInclude("SDL3/SDL_keycode.h");
|
|
@cInclude("SDL3/SDL_loadso.h");
|
|
@cInclude("SDL3/SDL_messagebox.h");
|
|
@cInclude("SDL3/SDL_misc.h");
|
|
@cInclude("SDL3/SDL_mouse.h");
|
|
@cInclude("SDL3/SDL_pixels.h");
|
|
@cInclude("SDL3/SDL_properties.h");
|
|
@cInclude("SDL3/SDL_rect.h");
|
|
@cInclude("SDL3/SDL_render.h");
|
|
@cInclude("SDL3/SDL_sensor.h");
|
|
@cInclude("SDL3/SDL_storage.h");
|
|
@cInclude("SDL3/SDL_surface.h");
|
|
@cInclude("SDL3/SDL_system.h");
|
|
@cInclude("SDL3/SDL_time.h");
|
|
@cInclude("SDL3/SDL_timer.h");
|
|
@cInclude("SDL3/SDL_touch.h");
|
|
@cInclude("SDL3/SDL_version.h");
|
|
@cInclude("SDL3/SDL_video.h");
|
|
});
|