summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-11 08:31:47 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-11 08:32:19 +0200
commite36a4ccc50c9d8a745c9114a3630cf4b7b77c70a (patch)
tree2ee452fafc271a3751a009f7df89c500dd7eae22
parent70430d665f5b4599b97126497b8bfe863ac3656a (diff)
downloadrtems-central-e36a4ccc50c9d8a745c9114a3630cf4b7b77c70a.tar.bz2
interface: Fix macro links
-rw-r--r--rtemsspec/interface.py3
-rw-r--r--rtemsspec/tests/test_interface.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/rtemsspec/interface.py b/rtemsspec/interface.py
index 7e0e3a0..255ab71 100644
--- a/rtemsspec/interface.py
+++ b/rtemsspec/interface.py
@@ -76,7 +76,8 @@ class _InterfaceMapper(ItemMapper):
get_value_double_colon)
self.add_get_value("interface/define:doc:/name", get_value_hash)
self.add_get_value("interface/enum:doc:/name", get_value_hash)
- self.add_get_value("interface/macro:doc:/name", get_value_hash)
+ self.add_get_value("interface/macro:doc:/name",
+ get_value_doxygen_function)
self.add_get_value("interface/variable:doc:/name", get_value_hash)
for opt in ["feature-enable", "feature", "initializer", "integer"]:
name = f"interface/appl-config-option/{opt}:doc:/name"
diff --git a/rtemsspec/tests/test_interface.py b/rtemsspec/tests/test_interface.py
index 832e231..3897d95 100644
--- a/rtemsspec/tests/test_interface.py
+++ b/rtemsspec/tests/test_interface.py
@@ -184,7 +184,7 @@ typedef enum EnumB {
* @brief Function brief description.
*
* Function description. References to VeryLongFunction(), ::Integer, #Enum,
- * #DEFINE, #VERY_LONG_MACRO, #Variable, ::ENUMERATOR_0, Struct, #a, and
+ * #DEFINE, VERY_LONG_MACRO(), #Variable, ::ENUMERATOR_0, Struct, #a, and
* interface.
*
* @param Param0 is parameter 0.