Add some explanatory comments to gir config

This commit is contained in:
Felix Krull 2019-05-18 17:26:30 +02:00 committed by Colin Walters
parent 0bf8f3f52e
commit 7b9bdf143c

View File

@ -56,13 +56,14 @@ manual = [
[[object]] [[object]]
name = "OSTree.CollectionRef" name = "OSTree.CollectionRef"
status = "manual" status = "manual"
# for reference: the settings used to generate the hand-tuned implementation
[[object.function]] [[object.function]]
# helper functions for NULL-terminated arrays # helper functions for NULL-terminated arrays
pattern = "dupv|freev" pattern = "dupv|freev"
ignore = true ignore = true
[[object.function]] [[object.function]]
# we get this for free? # we get this for free, I think?
name = "dup" name = "dup"
ignore = true ignore = true
@ -75,7 +76,7 @@ status = "generate"
ignore = true ignore = true
[[object.function]] [[object.function]]
# async generates bad code for now; revisit with newer gir # async generates bad code (for now?); revisit with newer gir
pattern = ".+_async" pattern = ".+_async"
ignore = true ignore = true
@ -83,9 +84,11 @@ status = "generate"
name = "OSTree.*" name = "OSTree.*"
status = "generate" status = "generate"
[[object.function]] [[object.function]]
# both too low-level to be generated safely
pattern = "cmp_checksum_bytes|checksum_inplace_to_bytes" pattern = "cmp_checksum_bytes|checksum_inplace_to_bytes"
ignore = true ignore = true
[[object.constant]] [[object.constant]]
# version-dependent constants
pattern = "VERSION|VERSION_S|YEAR_VERSION|RELEASE_VERSION" pattern = "VERSION|VERSION_S|YEAR_VERSION|RELEASE_VERSION"
ignore = true ignore = true