luau/CodeGen/include/Luau/CodeBlockUnwind.h

18 lines
451 B
C
Raw Normal View History

2022-09-16 06:13:58 +08:00
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
#pragma once
#include <stddef.h>
#include <stdint.h>
namespace Luau
{
namespace CodeGen
{
// context must be an UnwindBuilder
2022-10-07 07:55:58 +08:00
void* createBlockUnwindInfo(void* context, uint8_t* block, size_t blockSize, size_t& startOffset);
2022-09-16 06:13:58 +08:00
void destroyBlockUnwindInfo(void* context, void* unwindData);
} // namespace CodeGen
} // namespace Luau