summaryrefslogtreecommitdiff
path: root/libbindgen/src/parse.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-12-23 09:51:23 -0800
committerGitHub <noreply@github.com>2016-12-23 09:51:23 -0800
commit3ba3a76f8c7f393c81bc14eb497ae2b3047ead98 (patch)
treee08ab5ab12af804ac33a11cf6947f719a13d67e7 /libbindgen/src/parse.rs
parentcbc03042403029d3709290304b8804fec1d21bb9 (diff)
parentb93faf9015e91303a9cfb14281c1ebe5ca877acd (diff)
Auto merge of #360 - emilio:base, r=fitzgen
Don't assume that base classes are already resolved. Since it may not be the case. Fixes #359 Also fixes a few other test cases in the codebase that had the wrong namespace relationship. r? @fitzgen
Diffstat (limited to 'libbindgen/src/parse.rs')
-rw-r--r--libbindgen/src/parse.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/libbindgen/src/parse.rs b/libbindgen/src/parse.rs
index 28e65759..0e4164f0 100644
--- a/libbindgen/src/parse.rs
+++ b/libbindgen/src/parse.rs
@@ -82,7 +82,6 @@ pub trait ClangItemParser: Sized {
/// Create a named template type.
fn named_type<S>(name: S,
- default: Option<ItemId>,
parent: ItemId,
context: &mut BindgenContext)
-> ItemId
@@ -92,7 +91,6 @@ pub trait ClangItemParser: Sized {
/// `ItemId`.
fn named_type_with_id<S>(id: ItemId,
name: S,
- default: Option<ItemId>,
parent: ItemId,
context: &mut BindgenContext)
-> ItemId