1
 2
 3
 4
 5
 6
 7
 8
 9
10
//! A helper function for comparing `v8::Local` handles.
use raw::Local;

extern "C" {

    /// Indicates if two `v8::Local` handles are the same.
    #[link_name = "Neon_Mem_SameHandle"]
    pub fn same_handle(h1: Local, h2: Local) -> bool;

}