Commit b986cdce authored by Daniel P. Berrange's avatar Daniel P. Berrange

Also look for _cgo suffix when checking API support

Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
parent c2a6cd6d
......@@ -424,7 +424,7 @@ func ProcessFile(path string) []string {
defer file.Close()
re, err := regexp.Compile("C\\.((vir|VIR|LIBVIR)[a-zA-Z0-9_]+?)(Compat)?\\b")
re, err := regexp.Compile("C\\.((vir|VIR|LIBVIR)[a-zA-Z0-9_]+?)(Compat|_cgo)?\\b")
if err != nil {
panic(err)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment