MeshLib C Docs
Loading...
Searching...
No Matches
std_string_view.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/exports.h>
4
5#include <stddef.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11
15
19
24
29
34MRC_API MR_std_string_view *MR_std_string_view_ConstructFrom(const char *other, const char *other_end);
35
40
45MRC_API void MR_std_string_view_AssignFrom(MR_std_string_view *_this, const char *other, const char *other_end);
46
49
52
55
58
62
66
70
71#ifdef __cplusplus
72} // extern "C"
73#endif
struct MR_std_string_view MR_std_string_view
Definition MRFeatureHelpers.h:15
#define MRC_API
Definition exports.h:11
MRC_API const char * MR_std_string_view_Data(const MR_std_string_view *_this)
MRC_API void MR_std_string_view_AssignFrom(MR_std_string_view *_this, const char *other, const char *other_end)
MRC_API void MR_std_string_view_Destroy(const MR_std_string_view *_this)
Destroys a heap-allocated instance of MR_std_string_view. Does nothing if the pointer is null.
MRC_API MR_std_string_view * MR_std_string_view_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_string_view * MR_std_string_view_DefaultConstruct(void)
MRC_API void MR_std_string_view_DestroyArray(const MR_std_string_view *_this)
Destroys a heap-allocated array of MR_std_string_view. Does nothing if the pointer is null.
MRC_API size_t MR_std_string_view_Size(const MR_std_string_view *_this)
MRC_API void MR_std_string_view_AssignFromAnother(MR_std_string_view *_this, const MR_std_string_view *other)
MRC_API const char * MR_std_string_view_DataEnd(const MR_std_string_view *_this)
MRC_API MR_std_string_view * MR_std_string_view_ConstructFrom(const char *other, const char *other_end)
MRC_API MR_std_string_view * MR_std_string_view_OffsetMutablePtr(MR_std_string_view *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_string_view * MR_std_string_view_ConstructFromAnother(const MR_std_string_view *other)
MRC_API const MR_std_string_view * MR_std_string_view_OffsetPtr(const MR_std_string_view *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...