diff options
| author | gingerBill <bill@gingerbill.org> | 2019-07-27 10:20:11 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-07-27 10:20:11 +0100 |
| commit | f3bffb98101e3a584c8a5e8a6389c608ffe64c40 (patch) | |
| tree | 1de3f067a441934fc7d5ed5f69e6171cae7443d9 /src/entity.cpp | |
| parent | 540730c0bedb7f6e107d2ed01c804f897074419d (diff) | |
Improvement to the Odin calling conventions to pass certain things by "implicit reference" (`const &` in C++)
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index 3318eac24..0c05a9bf6 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -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, |