conf: anchor function name patterns to avoid unexpected exclusions

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:56 -04:00
1 parent 8ef294b627
commit 1ab87e6b97
5 files changed
+49 -13

No files matched your search

+11 -11
View File
@@ -127,7 +127,7 @@ name = "OSTree.CollectionRef"
status = "generate"
[[object.function]]
# [IGNORE] helper functions for NULL-terminated arrays
pattern = "dupv|freev"
pattern = "^(dupv|freev)$"
ignore = true
[[object.function]]
@@ -140,12 +140,12 @@ name = "OSTree.Repo"
status = "generate"
[[object.function]]
# [MANUAL] we special-case the checksum value
pattern = "write_content|write_content_async|write_metadata|write_metadata_async"
pattern = "^(write_content|write_content_async|write_metadata|write_metadata_async)$"
ignore = true
[[object.function]]
# [FAIL] these fail because of issues with arrays of dubious lifetimes
pattern = "find_remotes_async|pull_from_remotes_async"
pattern = "^(find_remotes_async|pull_from_remotes_async)$"
ignore = true
[[object.function]]
@@ -167,7 +167,7 @@ name = "OSTree.RepoFinder"
status = "generate"
[[object.function]]
# [FAIL] these fail because of issues with arrays of dubious lifetimes/NULL-terminated arrays
pattern = "resolve_async|resolve_all_async"
pattern = "^(resolve_async|resolve_all_async)$"
ignore = true
[[object]]
@@ -202,7 +202,7 @@ name = "OSTree.Sign"
status = "generate"
[[object.function]]
# [IGNORE] these shouldn't be on this type, they belong to subclasses
pattern = "dummy_.+|ed25519_.+"
pattern = "^(dummy_.+|ed25519_.+)$"
ignore = true
[[object]]
@@ -219,30 +219,30 @@ name = "OSTree.*"
status = "generate"
[[object.function]]
# [MANUAL] probably can't be autogenerated because of the custom Checksum type
pattern = "checksum_file|checksum_file_async|checksum_file_at|checksum_file_from_input"
pattern = "^(checksum_file|checksum_file_async|checksum_file_at|checksum_file_from_input)$"
ignore = true
[[object.function]]
# [IGNORE] low-level checksum functions, we have a custom checksum API
pattern = "cmp_checksum_bytes|checksum_from_bytes|checksum_to_bytes|checksum_inplace_from_bytes|checksum_inplace_to_bytes|checksum_b64_from_bytes|checksum_b64_to_bytes|checksum_b64_inplace_from_bytes|checksum_b64_inplace_to_bytes"
pattern = "^(cmp_checksum_bytes|checksum_from_bytes|checksum_to_bytes|checksum_inplace_from_bytes|checksum_inplace_to_bytes|checksum_b64_from_bytes|checksum_b64_to_bytes|checksum_b64_inplace_from_bytes|checksum_b64_inplace_to_bytes)$"
ignore = true
[[object.function]]
# [IGNORE] needs custom handling to deal with its raw pointer parameter
pattern = "hash_object_name"
name = "hash_object_name"
ignore = true
[[object.function]]
# [IGNORE] private API
pattern = "cmd__private__"
name = "cmd__private__"
ignore = true
[[object.constant]]
# [IGNORE] version-dependent constants
pattern = "VERSION|VERSION_S|YEAR_VERSION|RELEASE_VERSION"
pattern = "^(VERSION|VERSION_S|YEAR_VERSION|RELEASE_VERSION)$"
ignore = true
[[object.constant]]
# [IGNORE] build-dependent constants
pattern = "BUILT_FEATURES"
name = "BUILT_FEATURES"
ignore = true