Skip to content

Commit

Permalink
bumps mlua to 0.8.0 and updates API.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Y0SH1M4S73R committed Jun 15, 2022
1 parent 7dfd304 commit 39847f3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Equivalent to DM's `datum.var`

Equivalent to DM's `datum.var = value`

### datum:call_proc(proc, ...)
### datum:call_proc(procName, ...)

Equivalent to DM's `datum.proc(...)`
Equivalent to DM's `datum.procName(...)`

---

Expand All @@ -40,6 +40,10 @@ Equivalent to DM's `list[index]`

Equivalent to DM's `list[index] = value`

### list:add(value)

Equivalent to DM's `list.Add(value)`

### list:to_table()

Converts a DM list into a lua table.
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ crate-type = ["cdylib"]

[dependencies]
auxtools = {git = "https://github.com/willox/auxtools"}
mlua = {version = "0.8.0-beta.5", features = ["luau"]}
mlua = {version = "0.8.0", features = ["luau"]}

0 comments on commit 39847f3

Please sign in to comment.