Skip to content

Commit 6cfed8b

Browse files
authored
Port lbaselib.c to lbaselib.rs (#36)
Fixes #20
1 parent 0d82262 commit 6cfed8b

File tree

9 files changed

+785
-510
lines changed

9 files changed

+785
-510
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Please don't push to master unless the tests pass!
1515
* Not everything needs porting. E.g. rust supplies printf already, so you don't need to port this
1616
* Note `cstr!` from `macros.rs`, lua uses C strings (0 byte terminated) rust doesn't, this macro helps with that.
17-
* You can replace byte terminated strings with this macro in vscode using the following find and replace regex: `b(".*)\\0" as \*const u8 as \*const c_char` and `cstr!($1")`
17+
* You can replace byte terminated strings with this macro in vscode using the following find and replace regex: `b"(.*)\\0" as \*const u8 as \*const c_char` and `cstr!("$1")`
1818

1919
# Project tracking
2020

build/build.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ fn main() {
88
.file("build/lgc.c")
99
.file("build/lparser.c")
1010
// Non core libs
11-
.file("build/lbaselib.c")
1211
.file("build/lbitlib.c")
1312
.file("build/lcorolib.c")
1413
.file("build/ldblib.c")

0 commit comments

Comments
 (0)