Expand description
Defines the C API for use in bindings. Most notably for WebAssembly.
Structs§
- APIResult
- Represents a Result<T, String>. If is_error is true, then the error field of data is inhabited. Otherwise, the value field is inhabited.
- APIString
- Represents a string with a length followed by the UTF-8 data.
- Language
Option - An option defined by the name of the option and the value.
- Output
File Entry - An output file. Contains the file name and the content.
- Output
File Map - A map of output files.
Functions§
- verilization_
destroy ⚠ - Destroys a verilization model.
- verilization_
generate_ ⚠impl - Generates source to handle a file format defined by a verilizaiton model.
- verilization_
mem_ ⚠alloc - Allocates a block of memory.
- verilization_
mem_ ⚠free - Free a block of memory.
- verilization_
parse ⚠ - Parses verilization source files.
Unions§
- APIResult
Ptr - Represents either a value or an error message.