Skip to main content

generate_cpp_header_with_amqp

Function generate_cpp_header_with_amqp 

Source
pub fn generate_cpp_header_with_amqp(
    ast: &Specification,
    opts: &CppGenOptions,
) -> Result<String, CppGenError>
Expand description

Convenience variant with the emit_amqp_helpers flag enabled.

Identical to generate_cpp_header, but forces opts.emit_amqp_helpers = true. Useful for tests and tooling that want to select the AMQP bindings path explicitly.

§Errors

Same as generate_cpp_header.