From fa5710f1cad50ddd17605c73d4661acbf265a469 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 2 Jan 2010 15:30:51 -0800 Subject: upb_string* -> upb_strptr, to follow aliasing rules. --- src/upb_text.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/upb_text.h') diff --git a/src/upb_text.h b/src/upb_text.h index 6b2f4eb..bc15c3f 100644 --- a/src/upb_text.h +++ b/src/upb_text.h @@ -23,10 +23,10 @@ INLINE void upb_text_printer_init(struct upb_text_printer *p, bool single_line) p->single_line = single_line; } void upb_text_printval(upb_field_type_t type, union upb_value p, FILE *file); -void upb_text_printfield(struct upb_text_printer *p, upb_string *name, +void upb_text_printfield(struct upb_text_printer *p, upb_strptr name, upb_field_type_t valtype, union upb_value val, FILE *stream); -void upb_text_push(struct upb_text_printer *p, upb_string *submsg_type, +void upb_text_push(struct upb_text_printer *p, upb_strptr submsg_type, FILE *stream); void upb_text_pop(struct upb_text_printer *p, FILE *stream); -- cgit v1.2.3