owa/src/core/module.zig
2025-11-03 12:43:30 +00:00

9 lines
253 B
Zig

const std = @import("std");
const OwaObject = @import("object.zig").OwaObject;
pub fn OwaModule(comptime T: type) type {
return struct {
on_load: ?*const fn () anyerror!T = null,
on_unload: ?*const fn () anyerror!T = null,
};
}