feat: expose C APIs
This commit is contained in:
parent
179bd7429d
commit
2021f6a890
1 changed files with 6 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue