Blender V5.3
BLI_dynstr.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
16
17#include <stdarg.h>
18
19#include "BLI_compiler_attrs.hh"
20
21namespace blender {
22
23struct DynStr;
24
26struct DynStr;
27
40
47void BLI_dynstr_append(DynStr *__restrict ds, const char *cstr) ATTR_NONNULL();
55void BLI_dynstr_nappend(DynStr *__restrict ds, const char *cstr, int len) ATTR_NONNULL();
56
63void BLI_dynstr_appendf(DynStr *__restrict ds, const char *__restrict format, ...)
65void BLI_dynstr_vappendf(DynStr *__restrict ds, const char *__restrict format, va_list args)
67
91void BLI_dynstr_get_cstring_ex(const DynStr *__restrict ds, char *__restrict rets) ATTR_NONNULL();
92
105
106} // namespace blender
ccl_device_inline dual1 len(const ccl_private dual< T > &a)
Definition math_dual.h:263
BMesh Iterators.
void BLI_dynstr_appendf(DynStr *__restrict ds, const char *__restrict format,...) ATTR_PRINTF_FORMAT(2
void BLI_dynstr_nappend(DynStr *__restrict ds, const char *cstr, int len) ATTR_NONNULL()
Definition BLI_dynstr.cc:77
void BLI_dynstr_vappendf(DynStr *__restrict ds, const char *__restrict format, va_list args) ATTR_PRINTF_FORMAT(2
Definition BLI_dynstr.cc:97
void BLI_dynstr_free(DynStr *ds) ATTR_NONNULL()
void BLI_dynstr_append(DynStr *__restrict ds, const char *cstr) ATTR_NONNULL()
Definition BLI_dynstr.cc:58
char * BLI_dynstr_get_cstring(const DynStr *ds) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
void BLI_dynstr_clear(DynStr *ds) ATTR_NONNULL()
size_t ATTR_PRINTF_FORMAT(3, 4)
bool ATTR_WARN_UNUSED_RESULT
void ATTR_NONNULL(1, 2)
void BLI_dynstr_get_cstring_ex(const DynStr *__restrict ds, char *__restrict rets) ATTR_NONNULL()
int BLI_dynstr_get_len(const DynStr *ds) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
char ATTR_MALLOC
Definition BLI_string.hh:79
DynStr * BLI_dynstr_new() ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
Definition BLI_dynstr.cc:39
DynStr * BLI_dynstr_new_memarena() ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
Definition BLI_dynstr.cc:44