Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Roblox
GitHub Repository: Roblox/luau
Path: blob/master/CodeGen/include/Luau/CodeBlockUnwind.h
2727 views
1
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
2
#pragma once
3
4
#include <stddef.h>
5
#include <stdint.h>
6
7
namespace Luau
8
{
9
namespace CodeGen
10
{
11
12
// context must be an UnwindBuilder
13
void* createBlockUnwindInfo(void* context, uint8_t* block, size_t blockSize, size_t& startOffset);
14
void destroyBlockUnwindInfo(void* context, void* unwindData);
15
16
bool isUnwindSupported();
17
18
} // namespace CodeGen
19
} // namespace Luau
20
21