9 lines
253 B
Zig
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,
|
|
};
|
|
}
|