Ed_
40ffed9538
I now generate the layout the compiler wants, eventually I'll just have a custom policy so that the compiler can accept the non-idiomatic layout See scripts/build.ps1 & gen_staged_compiler_codebase.ps1 for how this is handled.
7 lines
107 B
Odin
7 lines
107 B
Odin
package sectr
|
|
|
|
context_ext :: proc( $ Type : typeid ) -> (^Type) {
|
|
return cast(^Type) context.user_ptr
|
|
}
|
|
|