object: string: add b_string_duplicate()
This commit is contained in:
@@ -24,6 +24,7 @@ typedef enum b_strlen_flags {
|
||||
BLUE_API b_string *b_string_create(void);
|
||||
BLUE_API b_string *b_string_create_from_cstr(const char *s);
|
||||
BLUE_API b_string *b_string_create_from_c(char c, size_t count);
|
||||
BLUE_API b_string *b_string_duplicate(const b_string *str);
|
||||
|
||||
static inline b_string *b_string_retain(b_string *str)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user