From: Petteri Aimonen Date: Tue, 5 Feb 2013 09:47:37 +0000 (+0200) Subject: Add Java package name to nanopb.proto. X-Git-Tag: 3.99.1~14^2~421 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=38ced18639f1e2236e9949071e3ddc148cf2ad73;p=apps%2Flow-level-can-service.git Add Java package name to nanopb.proto. This fixes problems when interoperating with Java. Fix suggested by trepidacious: https://groups.google.com/forum/#!topic/nanopb/hZgrj6h9OnY --- diff --git a/generator/nanopb.proto b/generator/nanopb.proto index bc40f29..4066252 100644 --- a/generator/nanopb.proto +++ b/generator/nanopb.proto @@ -7,6 +7,8 @@ import "google/protobuf/descriptor.proto"; +option java_package = "fi.kapsi.koti.jpa.nanopb"; + enum FieldType { FT_DEFAULT = 0; // Automatically decide field type, generate static field if possible. FT_CALLBACK = 1; // Always generate a callback field.