From 39847f3abf2e64e3aa121ba5202e39119c8411be Mon Sep 17 00:00:00 2001 From: Y0SH1M4S73R Date: Wed, 15 Jun 2022 14:23:37 -0400 Subject: [PATCH] bumps mlua to 0.8.0 and updates API.md --- API.md | 8 ++++++-- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/API.md b/API.md index 98eebb2..e79401f 100644 --- a/API.md +++ b/API.md @@ -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(...)` --- @@ -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. diff --git a/Cargo.lock b/Cargo.lock index d3a7b22..f8e1cdc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -217,9 +217,9 @@ dependencies = [ [[package]] name = "luau0-src" -version = "0.3.0+luau526" +version = "0.3.3+luau531" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6bed784925264166a503efffce372fd521bdbb325a0405c483a0bd3248ccce9" +checksum = "a0c8678ba90c16ddb1cb4fcdf4ceba50672c53aa6288d2557c3fe9a5084cd148" dependencies = [ "cc", ] @@ -241,9 +241,9 @@ checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" [[package]] name = "mlua" -version = "0.8.0-beta.5" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bb054c5769e1aeb137554b95941e997b62d17f5265bef213cb63179d75a6bf6" +checksum = "d75eb178f8a9d6654ef31f094fb3da6d1e81e714f27007e92a3094ddd6587aa2" dependencies = [ "bstr", "cc", diff --git a/Cargo.toml b/Cargo.toml index a1690a7..41154d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,4 +11,4 @@ crate-type = ["cdylib"] [dependencies] auxtools = {git = "https://github.com/willox/auxtools"} -mlua = {version = "0.8.0-beta.5", features = ["luau"]} \ No newline at end of file +mlua = {version = "0.8.0", features = ["luau"]} \ No newline at end of file