initial commit
This commit is contained in:
commit
4a08b87af4
20 changed files with 967 additions and 0 deletions
9
src/core/module.zig
Normal file
9
src/core/module.zig
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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,
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue