Skip to content
Snippets Groups Projects
Commit 1fa4e15f authored by Craig Tiller's avatar Craig Tiller
Browse files

Add define

parent 985463d3
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,9 @@ char *gpr_hexdump(const char *buf, size_t len, gpr_uint32 flags); ...@@ -60,6 +60,9 @@ char *gpr_hexdump(const char *buf, size_t len, gpr_uint32 flags);
int gpr_parse_bytes_to_uint32(const char *data, size_t length, int gpr_parse_bytes_to_uint32(const char *data, size_t length,
gpr_uint32 *result); gpr_uint32 *result);
/* minimum buffer size for calling ltoa */
#define GPR_LTOA_MIN_BUFSIZE (3 * sizeof(long))
/* Convert a long to a string in base 10; returns the length of the /* Convert a long to a string in base 10; returns the length of the
output string (or 0 on failure) */ output string (or 0 on failure) */
int gpr_ltoa(long value, char *output); int gpr_ltoa(long value, char *output);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment