Skip to content

Add Python API

Compare
Choose a tag to compare
@ltaylor16 ltaylor16 released this 11 Jan 01:31
· 3689 commits to develop since this release
958b157

Add a Python API to make it easier to create a representation of the library to wrap.
Before input was limited to YAML.

library = LibraryNode('mylibrary')
library.add_function(decl='void func1()')

YAML equivalent

library: mylibrary
functions:
-  decl: void func1()