diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-02-05 11:47:37 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-02-05 11:47:37 +0200 |
commit | 38ced18639f1e2236e9949071e3ddc148cf2ad73 (patch) | |
tree | 4e1ad65910c2848d52ca3ee7e6b7294e5d1de935 /generator | |
parent | e4b55179d1f53c42916f5e62fb83789973bf4b01 (diff) |
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
Diffstat (limited to 'generator')
-rw-r--r-- | generator/nanopb.proto | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generator/nanopb.proto b/generator/nanopb.proto index bc40f290..40662522 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. |