From 15604083c7323a1bcd7a591a6025aca98bd57fd2 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 2 Jan 2010 22:08:25 -0800 Subject: Move string representations back upb.h -> upb_data.h. --- tools/upbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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)); -- cgit v1.2.3