summaryrefslogtreecommitdiff
path: root/src/buildstream/_yaml.pxd
Commit message (Collapse)AuthorAgeFilesLines
* _loader: Move extract_depends_from_node from loadelement to typesBenjamin Schubert2019-06-071-0/+1
| | | | | | | | | | | extract_depends_from_node is only depending on things declared in types, loadelement doesn't have any dependency on it. It makes more sense to have it in types.pyx. Moreover, this allows us to cythonize the function, reducing its total runtime impact. - _yaml: expose node_del as public api for Cython
* _yaml: Restrict parameter of node_items and node_keys to be 'Node'Benjamin Schubert2019-06-071-1/+1
| | | | | In order to move to a cleaner Node api, we need to ensure that what we are treating is correctly set up as being Nodes.
* _loader/types: cimport yaml functions for better speedBenjamin Schubert2019-06-061-0/+1
| | | | | | - _yaml: export node_validate function as Cython, as it was not done before. This requires rewriting the function to remove a closure. - Optimize node check by not calling is_node().
* _variable: Import _yaml from C.Benjamin Schubert2019-05-291-0/+44
This requires the addition of a definition file (.pxd), to list symbols exported.