MeshLib C Docs
Loading...
Searching...
No Matches
MRMutexOwner.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
12
17
21
26
29
32
36
39
42
47
48#ifdef __cplusplus
49} // extern "C"
50#endif
MRC_API void MR_MutexOwner_DestroyArray(const MR_MutexOwner *_this)
Destroys a heap-allocated array of MR_MutexOwner. Does nothing if the pointer is null.
MRC_API MR_MutexOwner * MR_MutexOwner_DefaultConstruct(void)
MRC_API MR_MutexOwner * MR_MutexOwner_AssignFromAnother(MR_MutexOwner *_this, MR_PassBy _other_pass_by, MR_MutexOwner *_other)
MRC_API const MR_MutexOwner * MR_MutexOwner_OffsetPtr(const MR_MutexOwner *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_MutexOwner * MR_MutexOwner_DefaultConstructArray(size_t num_elems)
MRC_API void MR_MutexOwner_Destroy(const MR_MutexOwner *_this)
Destroys a heap-allocated instance of MR_MutexOwner. Does nothing if the pointer is null.
MRC_API MR_MutexOwner * MR_MutexOwner_ConstructFromAnother(MR_PassBy _other_pass_by, MR_MutexOwner *_other)
MRC_API MR_MutexOwner * MR_MutexOwner_OffsetMutablePtr(MR_MutexOwner *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
struct MR_MutexOwner MR_MutexOwner
Definition MRMutexOwner.h:16
MR_PassBy
Definition common.h:19
#define MRC_API
Definition exports.h:11