mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-28 21:58:19 +00:00
Improvement to the Odin calling conventions to pass certain things by "implicit reference" (const & in C++)
This commit is contained in:
@@ -48,7 +48,8 @@ enum EntityFlag {
|
||||
EntityFlag_NotExported = 1<<14,
|
||||
|
||||
EntityFlag_Static = 1<<16,
|
||||
// EntityFlag_Reference = 1<<17,
|
||||
|
||||
EntityFlag_ImplicitReference = 1<<17, // NOTE(bill): equivalent to `const &` in C++
|
||||
|
||||
EntityFlag_CVarArg = 1<<20,
|
||||
EntityFlag_AutoCast = 1<<21,
|
||||
|
||||
Reference in New Issue
Block a user