1
0
Fork 0

feat: expose C APIs

This commit is contained in:
LordMZTE 2024-03-26 17:24:48 +01:00
parent 179bd7429d
commit 2021f6a890
Signed by: LordMZTE
GPG Key ID: B64802DC33A64FF6
1 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,12 @@ test {
_ = Sdl2Texture;
}
pub const FreeTypeError = @import("ffi.zig").FreeTypeError;
/// This module as well as `c` are public to serve as an escape hatch in case FT or SDL2 APIs
/// aren't wrapped by Zenolith-SDL2.
pub const ffi = @import("ffi.zig");
pub const c = ffi.c;
pub const FreeTypeError = ffi.FreeTypeError;
pub const Sdl2Font = @import("Sdl2Font.zig");
pub const Sdl2Painter = @import("Sdl2Painter.zig");