Changeset 3276ce2 in rtems-central


Ignore:
Timestamp:
May 10, 2020, 6:20:57 PM (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
4dbae73
Parents:
e5d07e1
git-author:
Sebastian Huber <sebastian.huber@…> (05/10/20 18:20:57)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/28/20 08:38:22)
Message:

interface: Add support for interface includes

Location:
rtemsqual
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • rtemsqual/interface.py

    re5d07e1 r3276ce2  
    396396        self._content = CContent()
    397397        self._ingroups = {}  # type: ItemMap
    398         self._includes = []  # type: List[Item]
     398        self._includes = [
     399            link.item for link in item.links_to_parents()
     400            if link["role"] == "interface-include"
     401        ]
    399402        self._nodes = {}  # type: Dict[str, Node]
    400403        self.enabled_by_defined = enabled_by_defined
  • rtemsqual/tests/spec-interface/h.yml

    re5d07e1 r3276ce2  
    77interface-prefix: include
    88interface-type: header-file
    9 links: []
     9links:
     10- role: interface-include
     11  uid: h4
     12- role: other
     13  uid: h4
    1014type: interface
  • rtemsqual/tests/test_interface.py

    re5d07e1 r3276ce2  
    9595#include <h2.h>
    9696#include <h3.h>
     97#include <h4.h>
    9798#include <math.h>
    9899#include <stdint.h>
Note: See TracChangeset for help on using the changeset viewer.