mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Comptime math and bug fixes
This commit is contained in:
parent
621fe99882
commit
61f54a4f88
14 changed files with 684 additions and 122 deletions
|
@ -1348,6 +1348,22 @@ public:
|
|||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class BeComptimeError : public BeInst
|
||||
{
|
||||
public:
|
||||
BE_VALUE_TYPE(BeComptimeError, BeInst);
|
||||
|
||||
public:
|
||||
int mError;
|
||||
|
||||
public:
|
||||
virtual void HashInst(BeHashContext& hashCtx) override
|
||||
{
|
||||
hashCtx.Mixin(TypeId);
|
||||
hashCtx.Mixin(mError);
|
||||
}
|
||||
};
|
||||
|
||||
class BeComptimeGetType : public BeInst
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue