diff -r dbc28c91f7ff -r a36c5e23c055 rust/hg-direct-ffi/src/lib.rs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rust/hg-direct-ffi/src/lib.rs Thu Sep 27 16:51:36 2018 +0200 @@ -0,0 +1,16 @@ +// Copyright 2018 Georges Racinet +// +// This software may be used and distributed according to the terms of the +// GNU General Public License version 2 or any later version. + +//! Bindings for CPython extension code +//! +//! This exposes methods to build and use a `rustlazyancestors` iterator +//! from C code, using an index and its parents function that are passed +//! from the caller at instantiation. + +extern crate hg; +extern crate libc; + +mod ancestors; +pub use ancestors::{rustlazyancestors_drop, rustlazyancestors_init, rustlazyancestors_next};