rust/hg-direct-ffi/src/lib.rs
changeset 40272 a36c5e23c055
child 40300 72b94f946e90
equal deleted inserted replaced
40271:dbc28c91f7ff 40272:a36c5e23c055
       
     1 // Copyright 2018 Georges Racinet <gracinet@anybox.fr>
       
     2 //
       
     3 // This software may be used and distributed according to the terms of the
       
     4 // GNU General Public License version 2 or any later version.
       
     5 
       
     6 //! Bindings for CPython extension code
       
     7 //!
       
     8 //! This exposes methods to build and use a `rustlazyancestors` iterator
       
     9 //! from C code, using an index and its parents function that are passed
       
    10 //! from the caller at instantiation.
       
    11 
       
    12 extern crate hg;
       
    13 extern crate libc;
       
    14 
       
    15 mod ancestors;
       
    16 pub use ancestors::{rustlazyancestors_drop, rustlazyancestors_init, rustlazyancestors_next};