aboutsummaryrefslogtreecommitdiff
path: root/primedev/vscript/languages/squirrel_re/squirrel/sqtable.h
blob: e0ced4362d5cd426dd20a725167ffab7e4542b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "vscript/languages/squirrel_re/include/squirrel.h"
#include "vscript/languages/squirrel_re/squirrel/sqobject.h"

struct alignas(8) SQTable : public SQDelegable
{
	struct _HashNode
	{
		SQObject val;
		SQObject key;
		_HashNode* next;
	};

	_HashNode* _nodes;
	int _numOfNodes;
	int size;
	int field_48;
	int _usedNodes;
};
static_assert(sizeof(SQTable) == 80);