From 04b10c3f2b17f109dfd06dc37cc78e19d6ff858a Mon Sep 17 00:00:00 2001 From: envis10n Date: Tue, 29 Jan 2019 21:15:48 -0600 Subject: [PATCH] Okay then. That doesn't seem to exist in all configs. --- Cargo.toml | 2 +- src/lib.rs | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f12c685..5a41a8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dukbind" -version = "0.0.3" +version = "0.0.4" authors = ["envis10n "] edition = "2018" build = "build.rs" diff --git a/src/lib.rs b/src/lib.rs index d4603b6..9c8ea83 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -38,14 +38,6 @@ extern "C" { message: *const i8) -> duk_idx_t; } -extern "C" { - /// Returns 1 if value at idx inherits from Error, otherwise returns 0. If idx is invalid, also returns 0. - pub fn duk_is_error( - ctx: *mut duk_context, - idx: duk_idx_t - ) -> duk_bool_t; -} - #[cfg(test)] mod tests { #[test]