19 lines
446 B
Zig
19 lines
446 B
Zig
pub const SpecVariantMap = std.StringHashMap(SpecVariant);
|
|
|
|
pub const SpecVariant = union(enum(u8)) {
|
|
boolean: bool,
|
|
string: []const u8,
|
|
};
|
|
|
|
pub fn start_module(map: *SpecVariantMap, args: anytype, allocator: std.mem.Allocator) !void {
|
|
_ = map;
|
|
_ = args;
|
|
_ = allocator;
|
|
|
|
std.debug.print("Module init stub. this should never be called");
|
|
}
|
|
|
|
pub fn shutdown_module(_: std.mem.Allocator) void {}
|
|
|
|
const std = @import("std");
|