CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
hkSmallArray.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
RE
4
{
5
template
<
class
T>
6
class
hkSmallArray
7
{
8
enum class
CapacityAndFlags
9
{
10
kCapacityMask = 0x3FFF,
11
kFlagMask = 0xC000,
12
kNoDealloc = 0x8000,
13
kLocked = 0x4000,
14
kForceSigned =
static_cast<
std::underlying_type_t<CapacityAndFlags>
>
(-1)
15
};
16
17
T* data;
// 00
18
std::uint16_t size;
// 08
19
stl::enumeration<CapacityAndFlags, std::uint16_t>
capacityAndFlags;
// 0A
20
std::uint32_t pad0C;
// 0C
21
};
22
static_assert
(
sizeof
(
hkSmallArray<void*>
) == 0x10);
23
}
RE::hkSmallArray
Definition:
hkSmallArray.h:7
SKSE::stl::enumeration
Definition:
PCH.h:216
RE
Definition:
AbsorbEffect.h:6
CommonLibSSE
include
RE
H
hkSmallArray.h
Generated by
1.9.6