[Mesa-dev] [PATCH 1/9] util: Add a string buffer implementation

Timothy Arceri tarceri at itsqueeze.com
Mon May 22 00:31:05 UTC 2017


> +                               uint32_t num_args, ...);
> +bool
> +_mesa_string_buffer_append_len(struct _mesa_string_buffer *str,
> +                               char *c, uint32_t len);
> +
> +static inline bool
> +_mesa_string_buffer_append_char(struct _mesa_string_buffer *str, char c)
> +{
> +   assert(str->capacity > 0 && ch != '\0');

ch -> c



More information about the mesa-dev mailing list