#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>
Go to the source code of this file.
◆ MR_std_filesystem_path
◆ MR_std_function_void
◆ MR_std_string
◆ MR_SystemMemory
Generated from class MR::SystemMemory. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
◆ MR_GetCpuId()
◆ MR_getCurrentStacktrace()
returns string representation of the current stacktrace Generated from function MR::getCurrentStacktrace. Never returns null. Returns an instance allocated on the heap! Must call MR_std_string_Destroy() to free it when you're done using it.
◆ MR_GetDetailedOSName()
◆ MR_GetHomeDirectory()
◆ MR_GetMRVersionString()
| MRC_API const char * MR_GetMRVersionString |
( |
void | | ) |
|
◆ MR_getOSNoSpaces()
◆ MR_getSystemMemory()
return information about memory available in the system Generated from function MR::getSystemMemory. Never returns null. Returns an instance allocated on the heap! Must call MR_SystemMemory_Destroy() to free it when you're done using it.
◆ MR_GetTempDirectory()
◆ MR_getUserConfigDir()
◆ MR_getUserConfigFilePath()
◆ MR_OpenDocument()
| MRC_API bool MR_OpenDocument |
( |
const char * | path, |
|
|
const char * | path_end ) |
Generated from function MR::OpenDocument. Parameter path is a UTF-8 encoded filesystem path.
◆ MR_OpenLink()
| MRC_API void MR_OpenLink |
( |
const char * | url, |
|
|
const char * | url_end ) |
Generated from function MR::OpenLink. Parameter url can not be null. If url_end is null, then url is assumed to be null-terminated.
◆ MR_SetCurrentThreadName()
| MRC_API void MR_SetCurrentThreadName |
( |
const char * | name | ) |
|
◆ MR_setNewHandlerIfNeeded()
| MRC_API void MR_setNewHandlerIfNeeded |
( |
void | | ) |
|
◆ MR_setupLoggerByDefault()
Setups logger: 1) makes stdout sink 2) makes file sink (MRLog.txt) 3) redirect std streams to logger 4) add custom sink if provided 5) print stacktrace on crash (not in wasm) log level - trace Generated from function MR::setupLoggerByDefault. Parameter customLogSinkAdder is a single object. Parameter customLogSinkAdder has a default argument: {}, pass a null pointer to use it.
◆ MR_SystemMemory_AssignFromAnother()
Generated from method MR::SystemMemory::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 had previously.
◆ MR_SystemMemory_ConstructFrom()
Constructs MR::SystemMemory elementwise. The reference to the parameter physicalTotal might be preserved in the constructed object. The reference to the parameter physicalAvailable might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SystemMemory_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
◆ MR_SystemMemory_ConstructFromAnother()
Generated from constructor MR::SystemMemory::SystemMemory. 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_SystemMemory_Destroy() to free it when you're done using it.
◆ MR_SystemMemory_DefaultConstruct()
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SystemMemory_Destroy() to free it when you're done using it.
◆ MR_SystemMemory_DefaultConstructArray()
◆ MR_SystemMemory_Destroy()
Destroys a heap-allocated instance of MR_SystemMemory. Does nothing if the pointer is null.
◆ MR_SystemMemory_DestroyArray()
Destroys a heap-allocated array of MR_SystemMemory. Does nothing if the pointer is null.
◆ MR_SystemMemory_Get_physicalAvailable()
available amount of physical memory in the system, in bytes (0 if no info) Returns a pointer to a member variable of class MR::SystemMemory named physicalAvailable. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SystemMemory_Get_physicalTotal()
total amount of physical memory in the system, in bytes (0 if no info) Returns a pointer to a member variable of class MR::SystemMemory named physicalTotal. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SystemMemory_GetMutable_physicalAvailable()
available amount of physical memory in the system, in bytes (0 if no info) Returns a mutable pointer to a member variable of class MR::SystemMemory named physicalAvailable. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SystemMemory_GetMutable_physicalTotal()
total amount of physical memory in the system, in bytes (0 if no info) Returns a mutable pointer to a member variable of class MR::SystemMemory named physicalTotal. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_SystemMemory_OffsetMutablePtr()
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_SystemMemory_OffsetPtr()
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_SystemMemory_Set_physicalAvailable()
available amount of physical memory in the system, in bytes (0 if no info) Modifies a member variable of class MR::SystemMemory named physicalAvailable. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element physicalAvailable. When this function is called, this object will drop object references it had previously in physicalAvailable.
◆ MR_SystemMemory_Set_physicalTotal()
total amount of physical memory in the system, in bytes (0 if no info) Modifies a member variable of class MR::SystemMemory named physicalTotal. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element physicalTotal. When this function is called, this object will drop object references it had previously in physicalTotal.