MeshLib C Docs
Loading...
Searching...
No Matches
std_optional_std_string.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stddef.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_std_string MR_std_string; // Defined in `#include <MRCMisc/std_string.h>`.
13
14
18
22
27
31
38
42
48MRC_API void MR_std_optional_std_string_AssignFrom(MR_std_optional_std_string *_this, const char *other, const char *other_end);
49
52
55
58
61
65
69
70#ifdef __cplusplus
71} // extern "C"
72#endif
struct MR_std_string MR_std_string
Definition MRE57.h:22
struct MR_std_optional_std_string MR_std_optional_std_string
Definition MRPdf.h:21
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11
MRC_API MR_std_optional_std_string * MR_std_optional_std_string_OffsetMutablePtr(MR_std_optional_std_string *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_std_optional_std_string_AssignFromAnother(MR_std_optional_std_string *_this, MR_PassBy other_pass_by, MR_std_optional_std_string *other)
MRC_API void MR_std_optional_std_string_Destroy(const MR_std_optional_std_string *_this)
Destroys a heap-allocated instance of MR_std_optional_std_string. Does nothing if the pointer is null...
MRC_API MR_std_string * MR_std_optional_std_string_MutableValue(MR_std_optional_std_string *_this)
MRC_API const MR_std_optional_std_string * MR_std_optional_std_string_OffsetPtr(const MR_std_optional_std_string *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_std_optional_std_string * MR_std_optional_std_string_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_optional_std_string * MR_std_optional_std_string_ConstructFrom(const char *other, const char *other_end)
MRC_API void MR_std_optional_std_string_DestroyArray(const MR_std_optional_std_string *_this)
Destroys a heap-allocated array of MR_std_optional_std_string. Does nothing if the pointer is null.
MRC_API MR_std_optional_std_string * MR_std_optional_std_string_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_optional_std_string *other)
MRC_API const MR_std_string * MR_std_optional_std_string_Value(const MR_std_optional_std_string *_this)
MRC_API void MR_std_optional_std_string_AssignFrom(MR_std_optional_std_string *_this, const char *other, const char *other_end)
MRC_API MR_std_optional_std_string * MR_std_optional_std_string_DefaultConstruct(void)