File: bool_testcase.proto

package info (click to toggle)
protozero 1.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,548 kB
  • sloc: cpp: 20,364; sh: 18; makefile: 14
file content (15 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
syntax = "proto2";

option optimize_for = LITE_RUNTIME;

package TestBoolean;

message Test {

    // this should be bool, but we are using uint32
    // to be able to encode values other than 0 (false)
    // and 1 (true)
    required uint32 b = 1;

}