52de917d25
As seen in hashbrown:
#[cfg(feature = "raw")]
/// Experimental and unsafe `RawTable` API. This module is only available if the
/// `raw` feature is enabled.
pub mod raw {
// The RawTable API is still experimental and is not properly documented yet.
#[allow(missing_docs)]
#[path = "mod.rs"]
mod inner;
pub use inner::*;
#[cfg(feature = "rayon")]
pub mod rayon {
pub use crate::external_trait_impls::rayon::raw::*;
}
}
26 lines
336 B
C++
26 lines
336 B
C++
#include <cstdarg>
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <ostream>
|
|
#include <new>
|
|
|
|
static const uint8_t EXPORT_ME_TOO = 42;
|
|
|
|
struct ExportMe {
|
|
uint64_t val;
|
|
};
|
|
|
|
struct ExportMe2 {
|
|
uint64_t val;
|
|
};
|
|
|
|
extern "C" {
|
|
|
|
void export_me(ExportMe *val);
|
|
|
|
void export_me_2(ExportMe2*);
|
|
|
|
void from_really_nested_mod();
|
|
|
|
} // extern "C"
|