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::{ use std::{
convert::TryFrom, convert::TryFrom,
marker::PhantomData, marker::PhantomData,

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

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

Loading…
Cancel
Save