#How to directly use functions from another zig file?
1 messages · Page 1 of 1 (latest)
You can use usingnamespace, but this will be removed.
you can also just do const add = a.add and then you can use add
why it will be removed ?
i have multiple functions always i need to use dot operator
Read the why section of the issue i liked.
I am also not 100% certain that it will be remove, but zig aims to do it in the future