Blender V5.3
BLI_dynstr.cc File Reference
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include "BLI_dynstr.hh"
#include "BLI_memarena.hh"
#include "BLI_string.hh"
#include "BLI_utildefines.hh"
#include "MEM_guardedalloc.h"

Go to the source code of this file.

Classes

struct  blender::DynStrElem
struct  blender::DynStr

Namespaces

namespace  blender
 BMesh Iterators.

Functions

DynStr * blender::BLI_dynstr_new () ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
DynStr * blender::BLI_dynstr_new_memarena () ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
template<typename T>
T * blender::dynstr_alloc (DynStr *__restrict ds, size_t num=1)
void blender::BLI_dynstr_append (DynStr *__restrict ds, const char *cstr) ATTR_NONNULL()
void blender::BLI_dynstr_nappend (DynStr *__restrict ds, const char *cstr, int len) ATTR_NONNULL()
void blender::BLI_dynstr_vappendf (DynStr *__restrict ds, const char *__restrict format, va_list args) ATTR_PRINTF_FORMAT(2
void blender::BLI_dynstr_appendf (DynStr *__restrict ds, const char *__restrict format,...) ATTR_PRINTF_FORMAT(2
int blender::BLI_dynstr_get_len (const DynStr *ds) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
void blender::BLI_dynstr_get_cstring_ex (const DynStr *__restrict ds, char *__restrict rets) ATTR_NONNULL()
char * blender::BLI_dynstr_get_cstring (const DynStr *ds) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
void blender::BLI_dynstr_clear (DynStr *ds) ATTR_NONNULL()
void blender::BLI_dynstr_free (DynStr *ds) ATTR_NONNULL()

Detailed Description

Dynamically sized string ADT.

Definition in file BLI_dynstr.cc.