summaryrefslogtreecommitdiffstats
path: root/generator/proto/nanopb.proto
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@github.mail.kapsi.fi>2016-08-05 07:38:53 +0300
committerGitHub <noreply@github.com>2016-08-05 07:38:53 +0300
commit68a86e96481e6bea987df8de47027847b30c325b (patch)
treeb96eaefeaeaacd123e8d7e2f033dda3ba1698681 /generator/proto/nanopb.proto
parent0198210f2cc349e7bc5199e8db7f4afc8208d843 (diff)
parent62afd54964528c1fbd5ab802134f7e9ad912d904 (diff)
Merge pull request #211 from tmroeder/feat-inline-bytes
Add inline allocation of bytes fields
Diffstat (limited to 'generator/proto/nanopb.proto')
-rw-r--r--generator/proto/nanopb.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/generator/proto/nanopb.proto b/generator/proto/nanopb.proto
index 9b2f0fbc..8aab19a1 100644
--- a/generator/proto/nanopb.proto
+++ b/generator/proto/nanopb.proto
@@ -16,6 +16,7 @@ enum FieldType {
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.
+ FT_INLINE = 5; // Always generate an inline array of fixed size.
}
enum IntSize {