object: to_string() now takes a const object pointer
This commit is contained in:
@@ -41,7 +41,7 @@ void b_release(struct b_object *obj)
|
||||
free(obj);
|
||||
}
|
||||
|
||||
void b_to_string(struct b_object *obj, struct b_stream *out)
|
||||
void b_to_string(const struct b_object *obj, struct b_stream *out)
|
||||
{
|
||||
if (obj->ob_type->t_to_string) {
|
||||
obj->ob_type->t_to_string(obj, out);
|
||||
|
||||
Reference in New Issue
Block a user