MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshFwd.h File Reference
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stddef.h>

Go to the source code of this file.

Functions

MRC_API MR_NoInitMR_NoInit_DefaultConstruct (void)
MRC_API MR_NoInitMR_NoInit_DefaultConstructArray (size_t num_elems)
MRC_API const MR_NoInitMR_NoInit_OffsetPtr (const MR_NoInit *ptr, ptrdiff_t i)
MRC_API MR_NoInitMR_NoInit_OffsetMutablePtr (MR_NoInit *ptr, ptrdiff_t i)
MRC_API MR_NoInitMR_NoInit_ConstructFromAnother (const MR_NoInit *_other)
MRC_API void MR_NoInit_Destroy (const MR_NoInit *_this)
 Destroys a heap-allocated instance of MR_NoInit. Does nothing if the pointer is null.
MRC_API void MR_NoInit_DestroyArray (const MR_NoInit *_this)
 Destroys a heap-allocated array of MR_NoInit. Does nothing if the pointer is null.
MRC_API MR_NoInitMR_NoInit_AssignFromAnother (MR_NoInit *_this, const MR_NoInit *_other)
MRC_API const char * MR_Locale_translate_noop_1 (const char *str)
MRC_API const char * MR_Locale_translate_noop_2 (const char *ctx, const char *str)
 Generated from function MR::Locale::translate_noop.
MRC_API const char * MR_Locale_translate_noop_3 (const char *single, const char *plural, MR_int64_t n)
 Generated from function MR::Locale::translate_noop.
MRC_API const char * MR_Locale_translate_noop_4 (const char *ctx, const char *single, const char *plural, MR_int64_t n)
 Generated from function MR::Locale::translate_noop.

Function Documentation

◆ MR_Locale_translate_noop_1()

MRC_API const char * MR_Locale_translate_noop_1 ( const char * str)

special no-op inline functions to mark string literal as translatable Generated from function MR::Locale::translate_noop.

◆ MR_Locale_translate_noop_2()

MRC_API const char * MR_Locale_translate_noop_2 ( const char * ctx,
const char * str )

Generated from function MR::Locale::translate_noop.

◆ MR_Locale_translate_noop_3()

MRC_API const char * MR_Locale_translate_noop_3 ( const char * single,
const char * plural,
MR_int64_t n )

Generated from function MR::Locale::translate_noop.

◆ MR_Locale_translate_noop_4()

MRC_API const char * MR_Locale_translate_noop_4 ( const char * ctx,
const char * single,
const char * plural,
MR_int64_t n )

Generated from function MR::Locale::translate_noop.

◆ MR_NoInit_AssignFromAnother()

MRC_API MR_NoInit * MR_NoInit_AssignFromAnother ( MR_NoInit * _this,
const MR_NoInit * _other )

Generated from method MR::NoInit::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_NoInit_ConstructFromAnother()

MRC_API MR_NoInit * MR_NoInit_ConstructFromAnother ( const MR_NoInit * _other)

Generated from constructor MR::NoInit::NoInit. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_NoInit_Destroy() to free it when you're done using it.

◆ MR_NoInit_DefaultConstruct()

MRC_API MR_NoInit * MR_NoInit_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_NoInit_Destroy() to free it when you're done using it.

◆ MR_NoInit_DefaultConstructArray()

MRC_API MR_NoInit * MR_NoInit_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_NoInit_DestroyArray(). Use MR_NoInit_OffsetMutablePtr() and MR_NoInit_OffsetPtr() to access the array elements.

◆ MR_NoInit_Destroy()

MRC_API void MR_NoInit_Destroy ( const MR_NoInit * _this)

Destroys a heap-allocated instance of MR_NoInit. Does nothing if the pointer is null.

◆ MR_NoInit_DestroyArray()

MRC_API void MR_NoInit_DestroyArray ( const MR_NoInit * _this)

Destroys a heap-allocated array of MR_NoInit. Does nothing if the pointer is null.

◆ MR_NoInit_OffsetMutablePtr()

MRC_API MR_NoInit * MR_NoInit_OffsetMutablePtr ( MR_NoInit * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_NoInit_OffsetPtr()

MRC_API const MR_NoInit * MR_NoInit_OffsetPtr ( const MR_NoInit * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.