Mercurial > hg
comparison rust/hg-cpython/src/lib.rs @ 41240:ff333620a4cc
rust-cpython: moved generic conversion fn out of ancestors module
This will allow to use it easily from other submodules
Differential Revision: https://phab.mercurial-scm.org/D5578
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Sat, 12 Jan 2019 16:57:04 +0100 |
parents | dcf818267bc1 |
children | 0c7b353ce100 |
comparison
equal
deleted
inserted
replaced
41239:26b0a7514f01 | 41240:ff333620a4cc |
---|---|
24 extern crate hg; | 24 extern crate hg; |
25 extern crate libc; | 25 extern crate libc; |
26 | 26 |
27 pub mod ancestors; | 27 pub mod ancestors; |
28 mod cindex; | 28 mod cindex; |
29 mod conversion; | |
29 pub mod exceptions; | 30 pub mod exceptions; |
30 | 31 |
31 py_module_initializer!(rustext, initrustext, PyInit_rustext, |py, m| { | 32 py_module_initializer!(rustext, initrustext, PyInit_rustext, |py, m| { |
32 m.add( | 33 m.add( |
33 py, | 34 py, |