summaryrefslogtreecommitdiff
path: root/libbindgen/src/codegen/helpers.rs
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2016-12-01 13:16:16 -0800
committerNick Fitzgerald <fitzgen@gmail.com>2016-12-02 11:10:40 -0800
commit8091fd641b9692007bbb85d3bec37afc426b897d (patch)
tree439dc983b9d3b55b1eebe33fba01a26fbe75b67b /libbindgen/src/codegen/helpers.rs
parentd45db65fecfb973c10b4a1519571eeda50cb625b (diff)
Use the generated root module via a relative path
We previously generated uses of the root module with absolute paths: use root; However this only works if the generated bindings are the root of the crate. If they were in some submodule then that path would not be valid. They are now generated relative to the current module, like this: use self::super::super::root; Fixes #96
Diffstat (limited to 'libbindgen/src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions