Only add exported and not external functions and types to manifest

This commit is contained in:
nub31
2026-02-15 03:14:09 +01:00
parent c342b2e102
commit 4d0f7c715f
3 changed files with 34 additions and 11 deletions

View File

@@ -6,6 +6,11 @@ struct color { r: i32 g: i32 b: i32 a: i32 }
struct example { a: math::vec2 b: math::vec3 c: math::color }
export func add(a: i32 b: i32): i32
{
return math::add_internal(a b)
}
func add_internal(a: i32 b: i32): i32
{
return a + b
}