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.
1 parent 312321e commit 6f89305Copy full SHA for 6f89305
bindgen/ir/IR.cpp
@@ -185,6 +185,8 @@ void IR::filterDeclarations(const std::string &excludePrefix) {
185
filterByPrefix(functions, excludePrefix);
186
187
filterByPrefix(literalDefines, excludePrefix);
188
+
189
+ filterByPrefix(varDefines, excludePrefix);
190
}
191
192
void IR::filterTypeDefs(const std::string &excludePrefix) {
tests/samples/VarDefine.h
@@ -7,4 +7,7 @@ extern int c;
7
#define C c
8
#undef C // removed
9
10
+extern float f;
11
+#define __PRIVATE f // should be filtered
12
13
int getA();
0 commit comments