mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
genbindings: skip private constructors
This commit is contained in:
parent
a6d63f33d2
commit
1102f678c4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user