diff options
| author | gingerBill <bill@gingerbill.org> | 2021-08-15 12:56:59 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-08-15 12:56:59 +0100 |
| commit | 7bbc9a4634c2a4f1f3d4e932571883dce55c21fd (patch) | |
| tree | 5fd7a6224876544877c62d4a88725e756d13874b /src/entity.cpp | |
| parent | 1cd3b693aeb19a952c22e2aec69fd00025b99fc5 (diff) | |
Add `#any_int` directive to replace `auto_cast` uses on parameters.
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index cd9d3a88b..e7b888365 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -62,11 +62,12 @@ enum EntityFlag : u64 { EntityFlag_CVarArg = 1ull<<22, EntityFlag_AutoCast = 1ull<<23, + EntityFlag_AnyInt = 1ull<<24, - EntityFlag_Disabled = 1ull<<24, - EntityFlag_Cold = 1ull<<25, // procedure is rarely called + EntityFlag_Disabled = 1ull<<25, + EntityFlag_Cold = 1ull<<26, // procedure is rarely called - EntityFlag_Lazy = 1ull<<26, // Lazily type checked + EntityFlag_Lazy = 1ull<<27, // Lazily type checked EntityFlag_Test = 1ull<<30, |