@@ -9,7 +9,7 @@ use super::int::IntKind;
9
9
use super :: item:: { Item , ItemSet } ;
10
10
use super :: layout:: Layout ;
11
11
use super :: objc:: ObjCInterface ;
12
- use super :: traversal:: TypeCollector ;
12
+ use super :: traversal:: Trace ;
13
13
use clang:: { self , Cursor } ;
14
14
use parse:: { ClangItemParser , ParseError , ParseResult } ;
15
15
use std:: mem;
@@ -1125,10 +1125,10 @@ impl Type {
1125
1125
}
1126
1126
}
1127
1127
1128
- impl TypeCollector for Type {
1128
+ impl Trace for Type {
1129
1129
type Extra = Item ;
1130
1130
1131
- fn collect_types ( & self ,
1131
+ fn trace ( & self ,
1132
1132
context : & BindgenContext ,
1133
1133
types : & mut ItemSet ,
1134
1134
item : & Item ) {
@@ -1148,9 +1148,9 @@ impl TypeCollector for Type {
1148
1148
types. insert ( item) ;
1149
1149
}
1150
1150
}
1151
- TypeKind :: Comp ( ref ci) => ci. collect_types ( context, types, item) ,
1151
+ TypeKind :: Comp ( ref ci) => ci. trace ( context, types, item) ,
1152
1152
TypeKind :: Function ( ref sig) => {
1153
- sig. collect_types ( context, types, item)
1153
+ sig. trace ( context, types, item)
1154
1154
}
1155
1155
TypeKind :: Enum ( ref en) => {
1156
1156
if let Some ( repr) = en. repr ( ) {
0 commit comments