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]