summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-01-02 22:08:25 -0800
committerJoshua Haberman <joshua@reverberate.org>2010-01-02 22:08:25 -0800
commit15604083c7323a1bcd7a591a6025aca98bd57fd2 (patch)
treeb96ec5e115fd0edd297f6c7f0de20d767e95729f /tools
parentfa5710f1cad50ddd17605c73d4661acbf265a469 (diff)
Move string representations back upb.h -> upb_data.h.
Diffstat (limited to 'tools')
-rw-r--r--tools/upbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upbc.c b/tools/upbc.c
index 274aa00..b1fd0d9 100644
--- a/tools/upbc.c
+++ b/tools/upbc.c
@@ -437,7 +437,7 @@ static void write_message_c(upb_msg *msg, struct upb_msgdef *md,
}
fputs("\";\n\n", stream);
- fputs("static upb_norefcount_string strings[] = {\n", stream);
+ fputs("static upb_static_string strings[] = {\n", stream);
for(int i = 0; i < size; i++) {
struct strtable_entry *e = str_entries[i];
fprintf(stream, " UPB_STATIC_STRING_INIT_LEN(&strdata[%d], %d),\n", e->offset, upb_strlen(e->e.key));
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback