rs-luau 0.0.2

Minimal overhead Luau bindings for Rust!
Documentation
// 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)
{
    Luau::CodeGen::CompilationOptions options;
    Luau::CodeGen::compile(L, idx, options);
}