~fsx/protobluff

f49d39f0506ae5864cdd48ace953d26a1b25a046 — Frank Smit 11 months ago 4632f96
Set syntax version in examples.
M examples/decoding/person.proto => examples/decoding/person.proto +2 -0
@@ 18,6 18,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.

syntax = "proto2";

message Person {
  message PhoneNumber {
    enum PhoneType {

M examples/encoding/person.proto => examples/encoding/person.proto +3 -1
@@ 18,6 18,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.

syntax = "proto2";

message Person {
  message PhoneNumber {
    enum PhoneType {


@@ 32,4 34,4 @@ message Person {
  required int32 id = 2;
  optional string email = 3;
  repeated PhoneNumber phone = 4;
}
\ No newline at end of file
}

M examples/messages/person.proto => examples/messages/person.proto +2 -0
@@ 18,6 18,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.

syntax = "proto2";

message Person {
  message PhoneNumber {
    enum PhoneType {