io: path: update to_string() to use new b_stream interface
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
#include "posix.h"
|
#include "posix.h"
|
||||||
|
|
||||||
#include <blue/core/stringstream.h>
|
|
||||||
#include <blue/ds/string.h>
|
#include <blue/ds/string.h>
|
||||||
#include <blue/io/file.h>
|
#include <blue/io/file.h>
|
||||||
#include <blue/io/path.h>
|
#include <blue/io/path.h>
|
||||||
@@ -376,7 +375,7 @@ void path_fini(b_object *obj, void *priv)
|
|||||||
b_string_unref(path->p_pathstr);
|
b_string_unref(path->p_pathstr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void path_to_string(const b_object *obj, struct b_stream *out)
|
void path_to_string(const b_object *obj, b_stream *out)
|
||||||
{
|
{
|
||||||
struct b_path_p *path = b_object_get_private(obj, B_TYPE_PATH);
|
struct b_path_p *path = b_object_get_private(obj, B_TYPE_PATH);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user