MeshLib C Docs
Loading...
Searching...
No Matches
std_optional_float.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
34
39
44
47
50
53
56
60
64
65#ifdef __cplusplus
66} // extern "C"
67#endif
struct MR_std_optional_float MR_std_optional_float
Definition MRBestFitPolynomial.h:14
#define MRC_API
Definition exports.h:11
MRC_API MR_std_optional_float * MR_std_optional_float_DefaultConstruct(void)
MRC_API MR_std_optional_float * MR_std_optional_float_DefaultConstructArray(size_t num_elems)
MRC_API const float * MR_std_optional_float_Value(const MR_std_optional_float *_this)
MRC_API const MR_std_optional_float * MR_std_optional_float_OffsetPtr(const MR_std_optional_float *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_float_Destroy(const MR_std_optional_float *_this)
Destroys a heap-allocated instance of MR_std_optional_float. Does nothing if the pointer is null.
MRC_API void MR_std_optional_float_DestroyArray(const MR_std_optional_float *_this)
Destroys a heap-allocated array of MR_std_optional_float. Does nothing if the pointer is null.
MRC_API MR_std_optional_float * MR_std_optional_float_ConstructFrom(const float *other)
MRC_API MR_std_optional_float * MR_std_optional_float_ConstructFromAnother(const MR_std_optional_float *other)
MRC_API MR_std_optional_float * MR_std_optional_float_OffsetMutablePtr(MR_std_optional_float *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_float_AssignFromAnother(MR_std_optional_float *_this, const MR_std_optional_float *other)
MRC_API float * MR_std_optional_float_MutableValue(MR_std_optional_float *_this)
MRC_API void MR_std_optional_float_AssignFrom(MR_std_optional_float *_this, const float *other)