diff options
author | Joshua Haberman <joshua@reverberate.org> | 2010-01-02 15:30:51 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2010-01-02 15:30:51 -0800 |
commit | fa5710f1cad50ddd17605c73d4661acbf265a469 (patch) | |
tree | 807e25b1afc282e829cd28f4a778118138c4a5d6 /src/upb_parse.h | |
parent | ece08710a64e09baf4bdcb71752ce20ff1d4a757 (diff) |
upb_string* -> upb_strptr, to follow aliasing rules.
Diffstat (limited to 'src/upb_parse.h')
-rw-r--r-- | src/upb_parse.h | 4 |
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 |