[rtems-central commit] interface: Support constraints for defines

Sebastian Huber sebh at rtems.org
Wed Nov 17 08:07:50 UTC 2021


Module:    rtems-central
Branch:    master
Commit:    5d102aaec71f6e7e03c2a7d0bdc82c573891af13
Changeset: http://git.rtems.org/rtems-central/commit/?id=5d102aaec71f6e7e03c2a7d0bdc82c573891af13

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Nov 15 18:57:05 2021 +0100

interface: Support constraints for defines

---

 rtemsspec/interface.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rtemsspec/interface.py b/rtemsspec/interface.py
index 7c303f3..3a77409 100644
--- a/rtemsspec/interface.py
+++ b/rtemsspec/interface.py
@@ -218,6 +218,7 @@ def _get_register_name(definition: Dict[str, Any]) -> Tuple[str, str]:
 
 _CONSTRAINT_TARGET = {
     "interface/function": "this directive",
+    "interface/define": "this constant",
     "interface/macro": "this directive",
     "interface/typedef": "functions of this type",
 }



More information about the vc mailing list