Skip to content

Commit 6bdb102

Browse files
committed
Remove contributions from user https://github.com/eamonburns in preparation for relicensing
1 parent fc95bd4 commit 6bdb102

38 files changed

+19
-824
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,25 @@ Some examples are provided in [examples/](./examples/) to aid users in learning
8080
small self-contained applications should always be working, please create an issue if they do not work for
8181
you.
8282

83+
```zig
84+
const std = @import("std");
85+
const Lua = @import("luajit").Lua;
86+
87+
pub fn main() !void {
88+
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
89+
defer _ = gpa.deinit();
90+
91+
const lua = try Lua.init(gpa.allocator());
92+
defer lua.deinit();
93+
94+
lua.openBaseLib();
95+
96+
try lua.doString(
97+
\\ message = "Hello, world!"
98+
\\ print(message)
99+
);
100+
}
101+
```
83102

84103
## Language Binding Coverage Progress
85104

examples/README.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

examples/example-01_run-lua/LAST_TESTED_WITH_ZIG_VERSION.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

examples/example-01_run-lua/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/example-01_run-lua/build.zig

Lines changed: 0 additions & 51 deletions
This file was deleted.

examples/example-01_run-lua/build.zig.zon

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/example-01_run-lua/src/main.zig

Lines changed: 0 additions & 39 deletions
This file was deleted.

examples/example-01_run-lua/src/script.lua

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/example-02_variables/LAST_TESTED_WITH_ZIG_VERSION.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

examples/example-02_variables/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)