Code Review
/
apps
/
low-level-can-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e4b5517
)
Add Java package name to nanopb.proto.
author
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Tue, 5 Feb 2013 09:47:37 +0000
(11:47 +0200)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Tue, 5 Feb 2013 09:47:37 +0000
(11:47 +0200)
This fixes problems when interoperating with Java.
Fix suggested by trepidacious:
https://groups.google.com/forum/#!topic/nanopb/hZgrj6h9OnY
generator/nanopb.proto
patch
|
blob
|
history
diff --git
a/generator/nanopb.proto
b/generator/nanopb.proto
index
bc40f29
..
4066252
100644
(file)
--- 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.