mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 08:59:07 +00:00
feat(core): add StormDestroy stub
This commit is contained in:
parent
982a89b6da
commit
02f5e26f36
14 changed files with 160 additions and 64 deletions
18
test/BigTest.hpp
Normal file
18
test/BigTest.hpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include "Test.hpp"
|
||||
#include "storm/Big.hpp"
|
||||
|
||||
class BigData;
|
||||
|
||||
// Fixture for repetitive handling of BigData objects.
|
||||
struct BigDataTest {
|
||||
using BigDataPtr = BigData*;
|
||||
|
||||
BigData* num;
|
||||
|
||||
BigDataTest() { SBigNew(&num); }
|
||||
~BigDataTest() { SBigDel(num); }
|
||||
|
||||
BigData** operator &() { return # }
|
||||
operator BigDataPtr() const { return num; }
|
||||
BigData* operator->() const { return num; }
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue