lib/chant/src/preprocess/types.zig
daab053ee43316e1809a84551d573ddd1e5bf3d2
1 const chant = @import("../root.zig");
2
3 pub const Diagnostic = chant.diagnostic.Diagnostic;
4
5 pub const Error = error{
6 OutOfMemory,
7 PreprocessorUnavailable,
8 PreprocessFailed,
9 };
10
11 pub const Options = struct {
12 include_dirs: []const []const u8 = &.{},
13 defines: []const []const u8 = &.{},
14 };
15
16 pub const Prepared = struct {
17 path: []const u8,
18 temporary: bool,
19 };