move hide behind @ and specify with :

This commit is contained in:
2026-08-10 22:45:41 +02:00
parent 5244bfbf1b
commit ba6052eef3
27 changed files with 162 additions and 149 deletions
+3 -3
View File
@@ -5,15 +5,15 @@ Box :: struct {
_value i32
}
hide(file) file_helper func() i32 {
@hide:file file_helper func() i32 {
return 2
}
hide(file) File_Thing :: struct {
@hide:file File_Thing :: struct {
value i32
}
hide(file) file_value :: 2
@hide:file file_value :: 2
from_b func(_input i32) i32 {
_local Box := Box { _value = _input }