Function verilization_bindings_c_api_core::verilization_generate_impl[][src]

pub unsafe fn verilization_generate_impl<Registry: LanguageRegistry>(
    verilization: *const Verilization,
    language: *const APIString,
    noptions: usize,
    options: *const LanguageOption,
    result: *mut APIResult<OutputFileMap>,
    registry: &Registry
)

Generates source to handle a file format defined by a verilizaiton model.

Generates a file map containing the files generated. The languge is a string indicating the language of the generated code. The options are a C-style array of the language options. These options are the same as the -o: flags (without the -o: prefix) to the command line interface. The result and all dependent pointers must be freed using verilization_mem_free.