You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,8 @@
13
13
* Send Alex (aorlenko/khvzak) your github username to be added to the repo to push branches (so you don't have to work from a fork).
14
14
* Please don't push to master unless the tests pass!
15
15
* Not everything needs porting. E.g. rust supplies printf already, so you don't need to port this
16
-
* Note `cstr` from `macros.rs` lua uses C strings (0 byte terminated) rust doesn't, this macro helps with that.
16
+
* 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")`
0 commit comments