let cast_to_c_proto_dispatch_on (klass, _, uid) =
    Format.sprintf "struct t_Boolean *%s(struct %s *);" uid klass