From 9729ab4f0522dcf7c8f4c7288a96dc59b30a067d Mon Sep 17 00:00:00 2001 From: Max Wash Date: Fri, 24 Oct 2025 12:41:39 +0100 Subject: [PATCH] ds: number: update to_string() to use new b_stream interface --- ds/number.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ds/number.c b/ds/number.c index 667e9c8..459e9df 100644 --- a/ds/number.c +++ b/ds/number.c @@ -528,7 +528,7 @@ static size_t number_data_size(const struct b_number_p *number) } } -static void print_inf(const struct b_number_p *n, struct b_stream *out) +static void print_inf(const struct b_number_p *n, b_stream *out) { switch (n->n_type) { case B_NUMBER_INT8: @@ -583,7 +583,7 @@ static void print_inf(const struct b_number_p *n, struct b_stream *out) b_stream_write_string(out, "INF", NULL); } -static void print_nan(const struct b_number_p *n, struct b_stream *out) +static void print_nan(const struct b_number_p *n, b_stream *out) { switch (n->n_type) { case B_NUMBER_INT8: @@ -796,7 +796,7 @@ static void number_fini(b_object *obj, void *priv) struct b_number_p *number = priv; } -static void number_to_string(const b_object *obj, struct b_stream *out) +static void number_to_string(const b_object *obj, b_stream *out) { struct b_number_p *number = b_object_get_private(obj, B_TYPE_NUMBER);