From 392a92434a2f7776caa01ab57b7003504ebb8c7e Mon Sep 17 00:00:00 2001 From: mappu Date: Tue, 19 Nov 2024 20:00:40 +1300 Subject: [PATCH] genbindings/config: omit QxxPrivate::xx --- cmd/genbindings/config-allowlist.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/genbindings/config-allowlist.go b/cmd/genbindings/config-allowlist.go index 332ee755..5646f5e3 100644 --- a/cmd/genbindings/config-allowlist.go +++ b/cmd/genbindings/config-allowlist.go @@ -131,7 +131,8 @@ func ImportHeaderForClass(className string) bool { func AllowClass(className string) bool { - if strings.HasSuffix(className, "Private") || strings.HasSuffix(className, "PrivateShared") { + if strings.HasSuffix(className, "Private") || strings.HasSuffix(className, "PrivateShared") || + strings.Contains(className, "Private::") || strings.HasSuffix(className, "PrivateShared::") { return false }