Skip to content
Snippets Groups Projects

Draft: C Interfacing

Open Richard Angersbach requested to merge rangersbach/c-interfacing into master
Viewing commit 34012b36
Show latest version
3 files
+ 6
3
Preferences
Compare changes
Files
3
@@ -719,7 +719,7 @@ class SfgFunctionSequencer(SfgFunctionSequencerBase):
def __call__(self, *args: SequencerArg) -> None:
# check if header is in HYBRID mode for c_interfacing enabled
if self._cursor.context.c_interfacing:
assert isinstance(self._cursor.context.header_file.file_type, SfgSourceFileType.HYBRID_HEADER)
assert self._cursor.context.header_file.file_type == SfgSourceFileType.HYBRID_HEADER
"""Populate the function body"""
tree = make_sequence(*args)