We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6d8db2a + 8cfd998 commit d872294Copy full SHA for d872294
bindgen/ir/IR.cpp
@@ -201,6 +201,8 @@ void IR::filterDeclarations(const std::string &excludePrefix) {
201
filterByPrefix(literalDefines, excludePrefix);
202
203
filterByPrefix(varDefines, excludePrefix);
204
+
205
+ filterByPrefix(variables, excludePrefix);
206
}
207
208
void IR::filterTypeDefs(const std::string &excludePrefix) {
tests/samples/PrivateMembers.h
@@ -41,3 +41,5 @@ __private_type *getPrivateType();
41
void usesPrivateUnion(union __unionWithPrivateName);
42
void usesPrivateStruct(struct structWithPrivateType *, struct normalStruct *);
43
void usesPrivateEnum(enum __privateEnum *);
44
45
+extern int __private_var;
0 commit comments