summaryrefslogtreecommitdiffstats
path: root/tests/test_encode1.c
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-09-12 18:53:33 +0000
committerPetteri Aimonen <jpa@npb.mail.kapsi.fi>2011-09-12 18:53:33 +0000
commitd4abb63c052dc9d4c23ce72e498b4c7483f3b7cb (patch)
tree340d5abed388ef4abda42f6e4208948abfb9efb9 /tests/test_encode1.c
parent35814517ad9da0edad3905269ea41facfb120f3c (diff)
Tests for callback fields
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@974 e3a754e5-d11d-0410-8d38-ebb782a927b9
Diffstat (limited to 'tests/test_encode1.c')
-rw-r--r--tests/test_encode1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_encode1.c b/tests/test_encode1.c
index 412a271e..df1ec4fc 100644
--- a/tests/test_encode1.c
+++ b/tests/test_encode1.c
@@ -1,3 +1,7 @@
+/* A very simple encoding test case using person.proto.
+ * Just puts constant data in the fields.
+ */
+
#include <stdio.h>
#include <pb_encode.h>
#include "person.pb.h"