2022-09-15 23:38:17 +01: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 01:23:29 +01:00
|
|
|
void* createBlockUnwindInfo(void* context, uint8_t* block, size_t blockSize, size_t& startOffset);
|
2022-09-15 23:38:17 +01:00
|
|
|
void destroyBlockUnwindInfo(void* context, void* unwindData);
|
|
|
|
|
2023-05-12 18:50:47 +01:00
|
|
|
bool isUnwindSupported();
|
|
|
|
|
2022-09-15 23:38:17 +01:00
|
|
|
} // namespace CodeGen
|
|
|
|
} // namespace Luau
|