module: begin making Mod unaware of all namespaced components
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
df263685ab
commit
e847d46ff9
2 changed files with 5 additions and 5 deletions
|
|
@ -590,7 +590,7 @@ pub fn NamespacedComponents(comptime modules: anytype) type {
|
|||
/// rotation: @TypeOf() = .{ .type = Vec2, .description = "rotation component" },
|
||||
/// }
|
||||
/// ```
|
||||
fn MComponents(comptime M: anytype) type {
|
||||
pub fn MComponents(comptime M: anytype) type {
|
||||
const error_prefix = "mach: module ." ++ @tagName(M.name) ++ " .components ";
|
||||
if (!@hasDecl(M, "components")) {
|
||||
return struct {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue