object: string: add front, back, and pop_back functions
This commit is contained in:
@@ -51,6 +51,11 @@ BLUE_API void b_string_clear(b_string *str);
|
||||
BLUE_API size_t b_string_get_size(const b_string *str, b_strlen_flags flags);
|
||||
BLUE_API size_t b_string_get_capacity(const b_string *str);
|
||||
|
||||
BLUE_API char b_string_front(const b_string *str);
|
||||
BLUE_API char b_string_back(const b_string *str);
|
||||
|
||||
BLUE_API void b_string_pop_back(b_string *str);
|
||||
|
||||
BLUE_API const char *b_string_ptr(const b_string *str);
|
||||
|
||||
BLUE_API char *b_strdup(const char *s);
|
||||
|
||||
Reference in New Issue
Block a user