Esc

Generate_Options

structextensionsince 0.36.1Source
  • macOS: Generate_Options works on macOS
  • Linux: Generate_Options works on Linux
  • Windows: Generate_Options works on Windows
  • Wasm: Generate_Options works on Wasm

Declaration

Generate_Options :: struct {
    path: string = "<text.proto>";// Additional import roots, separated by semicolons.    import_paths: string;// Generate a complete directory tree instead of the supplied text.    dir: string;    map: Map_Mode = .HASH_MAP;    map_module: string;    map_type: string;    map_insert: string;    map_deinit: string;    strip_enum_prefix: bool;// Opt in to typed gRPC clients and server registration.    grpc: bool;}

Configuration for the standalone source generator. path is used in diagnostics.

See also