aya: add aya::maps::array and move ProgramArray under it

pull/1/head
Alessandro Decina 4 years ago
parent 6cec8be564
commit c3b902137b

@ -0,0 +1,4 @@
//! Array types.
mod program_array;
pub use program_array::ProgramArray;

@ -1,4 +1,3 @@
//! Hash map types.
use std::{
convert::TryFrom,
marker::PhantomData,

@ -1,3 +1,4 @@
//! Hash map types.
use std::mem;
use crate::{

@ -40,15 +40,15 @@ use crate::{
Pod,
};
pub mod array;
pub mod hash_map;
mod map_lock;
pub mod perf;
pub mod program_array;
pub use array::ProgramArray;
pub use hash_map::{HashMap, PerCpuHashMap};
pub use map_lock::*;
pub use perf::PerfEventArray;
pub use program_array::ProgramArray;
#[derive(Error, Debug)]
pub enum MapError {

Loading…
Cancel
Save