summaryrefslogtreecommitdiff
path: root/src/upb_parse.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-01-02 15:30:51 -0800
committerJoshua Haberman <joshua@reverberate.org>2010-01-02 15:30:51 -0800
commitfa5710f1cad50ddd17605c73d4661acbf265a469 (patch)
tree807e25b1afc282e829cd28f4a778118138c4a5d6 /src/upb_parse.h
parentece08710a64e09baf4bdcb71752ce20ff1d4a757 (diff)
upb_string* -> upb_strptr, to follow aliasing rules.
Diffstat (limited to 'src/upb_parse.h')
-rw-r--r--src/upb_parse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upb_parse.h b/src/upb_parse.h
index 7086204..056750f 100644
--- a/src/upb_parse.h
+++ b/src/upb_parse.h
@@ -80,7 +80,7 @@ void upb_cbparser_reset(struct upb_cbparser *p, void *udata);
//
// TODO: see if we can provide the following guarantee efficiently:
// retval will always be >= len. */
-size_t upb_cbparser_parse(struct upb_cbparser *p, upb_string *str,
+size_t upb_cbparser_parse(struct upb_cbparser *p, upb_strptr str,
struct upb_status *status);
/* Pick parser interface. ************************************************/
@@ -119,7 +119,7 @@ struct upb_pickparser *upb_pickparser_new(struct upb_msgdef *msgdef,
upb_pp_str_cb str_cb);
void upb_pickparser_free(struct upb_pickparser *p);
void upb_pickparser_reset(struct upb_pickparser *p, void *udata);
-size_t upb_pickparser_parse(struct upb_pickparser *p, upb_string *str,
+size_t upb_pickparser_parse(struct upb_pickparser *p, upb_strptr str,
struct upb_status *status);
#ifdef __cplusplus
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback