Okay then. That doesn't seem to exist in all configs.
This commit is contained in:
parent
6e9c2bd48a
commit
04b10c3f2b
2 changed files with 1 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "dukbind"
|
name = "dukbind"
|
||||||
version = "0.0.3"
|
version = "0.0.4"
|
||||||
authors = ["envis10n <envis10n@protonmail.com>"]
|
authors = ["envis10n <envis10n@protonmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
|
@ -38,14 +38,6 @@ extern "C" {
|
||||||
message: *const i8) -> duk_idx_t;
|
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)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in a new issue