Lua C API binding library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
source/dlua initial commit Sep 12, 2018
.gitignore initial commit Sep 12, 2018
README.md initial commit Sep 12, 2018
dub.json initial commit Sep 12, 2018

README.md

DLua

Lua(v5.3) C API binding.

example

import std.stdio;
import std.string;
import dlua;

void main()
{
  auto L = luaL_newstate();
  L.luaL_dostring(`print("Hello World from Lua!")`.toStringz);
}

usage

write below to your "dependencies" of dub.json/dub.sdl.

"dependencies": {
  "dlua": "~>0.0.1"
}

LICENSE

MIT