This commit is contained in:
Karoy Lorentey committed 2021-12-20 17:52:59 -08:00
1 parent 0c24d31e08
commit fd82b5a0ce
1 file changed
+4 -6
+4 -6
View File
@@ -1,8 +1,7 @@
#!/usr/bin/env python3
# This script uses the file `availability-macros.def` to automatically
# add/remove `@available` attributes to declarations in Swift sources
# in this package.
# This script can be used to automatically add/remove `@available` attributes to
# declarations in Swift sources in this package.
#
# In order for this to work, ABI-impacting declarations need to be annotated
# with special comments in the following format:
@@ -34,9 +33,8 @@
# "Hello"
# }
#
# The script recognizes these attributes and updates/removes them on each run,
# so you can run the script to enable/disable attributes without worrying about
# duplicate attributes.
# The script recognizes all three forms of these annotations and updates them on
# every run, so we can run the script to enable/disable attributes as needed.
import os
import os.path