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

Go to the source code of this file.

Typedefs

typedef struct MR_std_string MR_std_string
 

Functions

MRC_API MR_std_stringMR_getCurrentStacktraceInline (void)
 
MRC_API void MR_printStacktraceOnCrash (void)
 

Typedef Documentation

◆ MR_std_string

typedef struct MR_std_string MR_std_string

Function Documentation

◆ MR_getCurrentStacktraceInline()

MRC_API MR_std_string * MR_getCurrentStacktraceInline ( void )

returns string representation of the current stacktrace; the function is inlined, to put the code in any shared library; if std::stacktrace is first called from MRMesh.dll then it is not unloaded propely Generated from function MR::getCurrentStacktraceInline. 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_printStacktraceOnCrash()

MRC_API void MR_printStacktraceOnCrash ( void )

Print stacktrace on application crash Generated from function MR::printStacktraceOnCrash.