Previous: , Up: Programming with libtarot   [Contents][Index]


4.8 Higher-level language bindings – introducing the semantic API

The semantic API is an XML file describing the API. It is available through pkg-config:

pkg-config --variable=semantic_api libtarot

The API has a few concepts. The top-level element is named ’api’, but it does not carry useful information. Inside this API, you may find exactly one namespace, with an attribute, ‘name’. ‘name’ is exactly “tarot”.

Under the namespace, you find:

Inside each type, you will also find methods applicable to that type. A method is composed of: