mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-21 03:06:15 +03:00
11 lines
397 B
Zig
11 lines
397 B
Zig
const c = @cImport({
|
|
@cInclude("stb_image.h");
|
|
@cInclude("stb_image_resize.h");
|
|
});
|
|
|
|
// We'll just add the exports of the functions or types we actually use
|
|
// here, no need to export everything from the C lib if we don't use it.
|
|
pub const stbi_load_from_memory = c.stbi_load_from_memory;
|
|
pub const stbi_image_free = c.stbi_image_free;
|
|
pub const stbir_resize_uint8 = c.stbir_resize_uint8;
|