diff options
author | Joshua Haberman <joshua@reverberate.org> | 2010-07-03 12:34:09 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2010-07-03 12:34:09 -0700 |
commit | a417be0f8780fd596b06159079d7c377500026c6 (patch) | |
tree | 357622df549361d1f7f22c8848faf1fbb065aee2 /src/upb_string.h | |
parent | 229fcf7119b06385eb6440e54916f871b8bbc323 (diff) |
More work on upb_def.
Diffstat (limited to 'src/upb_string.h')
-rw-r--r-- | src/upb_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_string.h b/src/upb_string.h index 5e5d6bc..af1f8ce 100644 --- a/src/upb_string.h +++ b/src/upb_string.h @@ -101,7 +101,7 @@ void upb_string_detach(upb_string *str); // Allows using upb_strings in printf, ie: // upb_strptr str = UPB_STRLIT("Hello, World!\n"); // printf("String is: " UPB_STRFMT, UPB_STRARG(str)); */ -#define UPB_STRARG(str) upb_strlen(str), upb_string_getrobuf(str) +#define UPB_STRARG(str) upb_string_len(str), upb_string_getrobuf(str) #define UPB_STRFMT "%.*s" /* upb_string library functions ***********************************************/ |