blob: 5b17f489cfc3f8de4c89780da6d7d1bcc3c38d46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include "vscript/languages/squirrel_re/include/squirrel.h"
#include "vscript/languages/squirrel_re/squirrel/sqobject.h"
// NOTE [Fifty]: Variable sized struct
struct alignas(8) SQString : public SQRefCounted
{
SQSharedState* sharedState;
int length;
unsigned char gap_24[4];
char _hash[8];
char _val[1];
};
static_assert(sizeof(SQString) == 56); // [Fifty]: Game allocates 56 + strlen
|