MeshLib C Docs
Loading...
Searching...
No Matches
std_vector_int.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 <stdbool.h>
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13
17
21
26
32
38
41
44
48
52
56
60
64
69
72MRC_API void MR_std_vector_int_reserve(MR_std_vector_int *_this, size_t new_capacity);
73
78MRC_API const int *MR_std_vector_int_at(const MR_std_vector_int *_this, size_t i);
79
85
90
95
100
105
110
115
119
123
126MRC_API void MR_std_vector_int_insert(MR_std_vector_int *_this, size_t position, int new_elem);
127
131
132#ifdef __cplusplus
133} // extern "C"
134#endif
struct MR_std_vector_int MR_std_vector_int
Definition MRIntersectionContour.h:17
MR_PassBy
Definition common.h:13
#define MRC_API
Definition include/MRCMisc/exports.h:11
MRC_API int * MR_std_vector_int_back_mut(MR_std_vector_int *_this)
MRC_API const int * MR_std_vector_int_data(const MR_std_vector_int *_this)
MRC_API void MR_std_vector_int_resize(MR_std_vector_int *_this, size_t new_size)
MRC_API const int * MR_std_vector_int_at(const MR_std_vector_int *_this, size_t i)
MRC_API void MR_std_vector_int_clear(MR_std_vector_int *_this)
MRC_API MR_std_vector_int * MR_std_vector_int_ConstructFromAnother(MR_PassBy other_pass_by, MR_std_vector_int *other)
MRC_API size_t MR_std_vector_int_size(const MR_std_vector_int *_this)
MRC_API const MR_std_vector_int * MR_std_vector_int_OffsetPtr(const MR_std_vector_int *ptr, ptrdiff_t i)
MRC_API int * MR_std_vector_int_data_mut(MR_std_vector_int *_this)
MRC_API void MR_std_vector_int_pop_back(MR_std_vector_int *_this)
MRC_API void MR_std_vector_int_erase(MR_std_vector_int *_this, size_t position)
MRC_API MR_std_vector_int * MR_std_vector_int_DefaultConstructArray(size_t num_elems)
MRC_API MR_std_vector_int * MR_std_vector_int_OffsetMutablePtr(MR_std_vector_int *ptr, ptrdiff_t i)
MRC_API int * MR_std_vector_int_at_mut(MR_std_vector_int *_this, size_t i)
MRC_API void MR_std_vector_int_AssignFromAnother(MR_std_vector_int *_this, MR_PassBy other_pass_by, MR_std_vector_int *other)
MRC_API void MR_std_vector_int_push_back(MR_std_vector_int *_this, int new_elem)
MRC_API const int * MR_std_vector_int_front(const MR_std_vector_int *_this)
MRC_API const int * MR_std_vector_int_back(const MR_std_vector_int *_this)
MRC_API bool MR_std_vector_int_empty(const MR_std_vector_int *_this)
MRC_API void MR_std_vector_int_reserve(MR_std_vector_int *_this, size_t new_capacity)
MRC_API void MR_std_vector_int_DestroyArray(const MR_std_vector_int *_this)
Destroys a heap-allocated array of MR_std_vector_int. Does nothing if the pointer is null.
MRC_API void MR_std_vector_int_Destroy(const MR_std_vector_int *_this)
Destroys a heap-allocated instance of MR_std_vector_int. Does nothing if the pointer is null.
MRC_API void MR_std_vector_int_insert(MR_std_vector_int *_this, size_t position, int new_elem)
MRC_API MR_std_vector_int * MR_std_vector_int_DefaultConstruct(void)
MRC_API int * MR_std_vector_int_front_mut(MR_std_vector_int *_this)