mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-16 06:45:44 +08:00
20 lines
478 B
C++
20 lines
478 B
C++
// 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
|
|
void* createBlockUnwindInfo(void* context, uint8_t* block, size_t blockSize, size_t& startOffset);
|
|
void destroyBlockUnwindInfo(void* context, void* unwindData);
|
|
|
|
bool isUnwindSupported();
|
|
|
|
} // namespace CodeGen
|
|
} // namespace Luau
|