mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
rename MustacheLoadArgs to LoadArgs
This commit is contained in:
parent
573b27b9d8
commit
ee94128c7a
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ extern fn fiobj_mustache_build2(dest: fio.FIOBJ, mustache: ?*mustache_s, data: f
|
|||
extern fn fiobj_mustache_free(mustache: ?*mustache_s) void;
|
||||
|
||||
/// Load arguments used when creating a new Mustache instance.
|
||||
pub const MustacheLoadArgs = struct {
|
||||
pub const LoadArgs = struct {
|
||||
/// Filename. This enables partial templates on filesystem.
|
||||
filename: ?[]const u8 = null,
|
||||
|
||||
|
@ -51,7 +51,7 @@ pub const Error = error{
|
|||
|
||||
/// Create a new `Mustache` instance; `deinit()` should be called to free
|
||||
/// the object after usage.
|
||||
pub fn init(load_args: MustacheLoadArgs) Error!Self {
|
||||
pub fn init(load_args: LoadArgs) Error!Self {
|
||||
var err: mustache_error_en = undefined;
|
||||
|
||||
const args: MustacheLoadArgsFio = .{
|
||||
|
|
Loading…
Add table
Reference in a new issue