diff options
author | Martin Donath <scifish@gmail.com> | 2013-12-08 23:25:32 +0100 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-12-29 18:35:57 +0200 |
commit | 4ae3b2e5661b154cd1f7e545f6052d271306ff25 (patch) | |
tree | 90b8fb3619eedaf9c0f3e8a5ac7ffd494467b99c /generator/nanopb.proto | |
parent | 4f37c083d532a782e478b2cef6a02d028613564d (diff) |
Generating and encoding messages with dynamic allocaiton
Diffstat (limited to 'generator/nanopb.proto')
-rw-r--r-- | generator/nanopb.proto | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/nanopb.proto b/generator/nanopb.proto index fe564b5c..2be2f803 100644 --- a/generator/nanopb.proto +++ b/generator/nanopb.proto @@ -12,6 +12,7 @@ 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. + FT_POINTER = 4; // Always generate a dynamically allocated field. FT_STATIC = 2; // Generate a static field or raise an exception if not possible. FT_IGNORE = 3; // Ignore the field completely. } |