libGimbal 0.0.0 (PRERELEASE)
Ultimate C17/C++20 Core Utility Library and Cross-Language Runtime Framework
gimbal_ext.h File Reference

Go to the source code of this file.

Macros

#define GBL_META_LOG_LEVEL_TABLE
 
#define GBL_EXT_EVENT_HANDLER
 
#define GBL_EXT_MALLOC
 
#define GBL_EXT_REALLOC
 
#define GBL_EXT_FREE
 
#define GBL_EXT_LOG_WRITE
 
#define GBL_EXT_LOG_PUSH
 
#define GBL_EXT_LOG_POP
 
#define GBL_EXT_RESULT_STRING
 

Typedefs

typedef GBL_ENUM GBL_LOG_LEVEL
 
typedef GBL_RESULT(* GblExtLogWriteFn) (const GblStackFrame *, GBL_LOG_LEVEL, const char *, va_list)
 
typedef GBL_RESULT(* GblExtLogPushFn) (const GblStackFrame *)
 
typedef GBL_RESULT(* GblExtLogPopFn) (const GblStackFrame *, uint32_t)
 
typedef GBL_RESULT(* GblExtMemAllocFn) (const GblStackFrame *, GblSize, GblSize, const char *, void **)
 
typedef GBL_RESULT(* GblExtMemReallocFn) (const GblStackFrame *, void *, GblSize, GblSize, void **)
 
typedef GBL_RESULT(* GblExtMemFreeFn) (const GblStackFrame *, void *)
 

Enumerations

enum  GBL_LOG_LEVEL
 

Functions

static const char * gblLogLevelString (GBL_LOG_LEVEL value)
 
GBL_RESULT gblExtLogWrite (const GblStackFrame *pFrame, GBL_LOG_LEVEL level, const char *pFmt, va_list varArgs)
 
GBL_RESULT gblExtLogPush (const GblStackFrame *pFrame)
 
GBL_RESULT gblExtLogPop (const GblStackFrame *pFrame, uint32_t count)
 
GBL_RESULT gblExtMemAlloc (const GblStackFrame *pFrame, GblSize size, GblSize alignment, const char *pDebugInfoString, void **ppData)
 
GBL_RESULT gblExtMemRealloc (const GblStackFrame *pFrame, void *pData, GblSize newSize, GblSize newAlign, void **ppNewData)
 
GBL_RESULT gblExtMemFree (const GblStackFrame *pFrame, void *pData)
 
GBL_RESULT gblExtCallRecordSet (const GblStackFrame *pFrame, const GblCallRecord *pRecord)
 

Macro Definition Documentation

◆ GBL_EXT_EVENT_HANDLER

#define GBL_EXT_EVENT_HANDLER

Definition at line 61 of file gimbal_ext.h.

◆ GBL_EXT_FREE

#define GBL_EXT_FREE

Definition at line 76 of file gimbal_ext.h.

◆ GBL_EXT_LOG_POP

#define GBL_EXT_LOG_POP

Definition at line 88 of file gimbal_ext.h.

◆ GBL_EXT_LOG_PUSH

#define GBL_EXT_LOG_PUSH

Definition at line 84 of file gimbal_ext.h.

◆ GBL_EXT_LOG_WRITE

#define GBL_EXT_LOG_WRITE

Definition at line 80 of file gimbal_ext.h.

◆ GBL_EXT_MALLOC

#define GBL_EXT_MALLOC

Definition at line 68 of file gimbal_ext.h.

◆ GBL_EXT_REALLOC

#define GBL_EXT_REALLOC

Definition at line 72 of file gimbal_ext.h.

◆ GBL_EXT_RESULT_STRING

#define GBL_EXT_RESULT_STRING

Definition at line 92 of file gimbal_ext.h.

◆ GBL_META_LOG_LEVEL_TABLE

#define GBL_META_LOG_LEVEL_TABLE

Definition at line 15 of file gimbal_ext.h.

Typedef Documentation

◆ GBL_LOG_LEVEL

typedef GBL_ENUM GBL_LOG_LEVEL

Definition at line 27 of file gimbal_ext.h.

◆ GblExtLogPopFn

typedef GBL_RESULT(* GblExtLogPopFn) (const GblStackFrame *, uint32_t)

Definition at line 35 of file gimbal_ext.h.

◆ GblExtLogPushFn

typedef GBL_RESULT(* GblExtLogPushFn) (const GblStackFrame *)

Definition at line 34 of file gimbal_ext.h.

◆ GblExtLogWriteFn

typedef GBL_RESULT(* GblExtLogWriteFn) (const GblStackFrame *, GBL_LOG_LEVEL, const char *, va_list)

Definition at line 33 of file gimbal_ext.h.

◆ GblExtMemAllocFn

typedef GBL_RESULT(* GblExtMemAllocFn) (const GblStackFrame *, GblSize, GblSize, const char *, void **)

Definition at line 38 of file gimbal_ext.h.

◆ GblExtMemFreeFn

typedef GBL_RESULT(* GblExtMemFreeFn) (const GblStackFrame *, void *)

Definition at line 40 of file gimbal_ext.h.

◆ GblExtMemReallocFn

typedef GBL_RESULT(* GblExtMemReallocFn) (const GblStackFrame *, void *, GblSize, GblSize, void **)

Definition at line 39 of file gimbal_ext.h.

Enumeration Type Documentation

◆ GBL_LOG_LEVEL

enum GBL_LOG_LEVEL

Definition at line 27 of file gimbal_ext.h.

Function Documentation

◆ gblLogLevelString()

static const char * gblLogLevelString ( GBL_LOG_LEVEL  value)
inlinestatic

Definition at line 27 of file gimbal_ext.h.