luau/CodeGen/src/lcodegen.cpp

22 lines
426 B
C++
Raw Normal View History

2023-05-19 19:59:59 +01:00
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
#include "luacodegen.h"
#include "Luau/CodeGen.h"
#include "lapi.h"
int luau_codegen_supported()
{
return Luau::CodeGen::isSupported();
}
void luau_codegen_create(lua_State* L)
{
Luau::CodeGen::create(L);
}
void luau_codegen_compile(lua_State* L, int idx)
{
2024-04-25 21:57:23 +01:00
Luau::CodeGen::compile(L, idx);
2023-05-19 19:59:59 +01:00
}