Change SignalHandlers.h to SignalHandlers.hpp

This commit is contained in:
buckle2000
2019-01-12 04:33:14 -06:00
committed by Dan Gohman
parent 9fe08c9341
commit 01ed463c7a
3 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ fn main() {
println!("cargo:rustc-link-lib=static=SignalHandlers"); println!("cargo:rustc-link-lib=static=SignalHandlers");
let mut bindings_builder = bindgen::Builder::default() let mut bindings_builder = bindgen::Builder::default()
.header("signalhandlers/SignalHandlers.h") .header("signalhandlers/SignalHandlers.hpp")
.whitelist_type("TrapContext") .whitelist_type("TrapContext")
.whitelist_type("jmp_buf") .whitelist_type("jmp_buf")
.whitelist_function("EnsureEagerSignalHandlers"); .whitelist_function("EnsureEagerSignalHandlers");

View File

@@ -5,7 +5,7 @@
//! Use of Mach ports on Darwin platforms (the USE_APPLE_MACH_PORTS code below) is //! Use of Mach ports on Darwin platforms (the USE_APPLE_MACH_PORTS code below) is
//! currently disabled. //! currently disabled.
#include "SignalHandlers.h" #include "SignalHandlers.hpp"
#include <stdint.h> #include <stdint.h>
#include <assert.h> #include <assert.h>