module exports and name mangling
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
module test
|
||||
|
||||
struct person {
|
||||
export packed struct person {
|
||||
age: i32
|
||||
name: string
|
||||
}
|
||||
|
||||
func do_something(name: string): i32 {
|
||||
export func do_something(name: string): i32 {
|
||||
return 3
|
||||
}
|
||||
Reference in New Issue
Block a user