Commit d4cb3957 authored by Ryan Hunt's avatar Ryan Hunt
Browse files

Add a 'no-export' annotation to mark items that shouldn't be given definitions

parent 8be00519
......@@ -90,6 +90,10 @@ impl Bindings {
}
for item in &self.items {
if item.deref().annotations().bool("no-export").unwrap_or(false) {
continue;
}
out.new_line_if_not_start();
match item {
&ItemContainer::Enum(ref x) => x.write(&self.config, &mut out),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment