genbindings: skip private constructors

This commit is contained in:
mappu 2024-08-14 18:39:04 +12:00
parent a6d63f33d2
commit 1102f678c4

View File

@ -179,6 +179,9 @@ nextMethod:
// These seem to have no useful content
case "CXXConstructorDecl":
if !visibility {
continue // Skip private/protected
}
if ret.Abstract {
continue // The bindings can't construct an abstract class