Function amq_protocol_codegen::snake_case
source · Expand description
Convert input to snake case For the purpose of the AMQP codegen usage, we also handle a few special cases: “type” becomes “type_” “return” becomes “return_” A word needs to be composed of at least two letters, this makes UInt become uint and not u_int