libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
Loading...
Searching...
No Matches
evmu_api.h File Reference

Go to the source code of this file.

Macros

#define EVMU_EXPORT   GBL_EXPORT
 
#define EVMU_INLINE   GBL_INLINE
 
Logging

Macros used for logging to the "evmu" domain

#define EVMU_LOG_VERBOSE(...)   GBL_LOG_VERBOSE("evmu", __VA_ARGS__)
 
#define EVMU_LOG_DEBUG(...)   GBL_LOG_DEBUG("evmu", __VA_ARGS__)
 
#define EVMU_LOG_INFO(...)   GBL_LOG_INFO("evmu", __VA_ARGS__)
 
#define EVMU_LOG_WARN(...)   GBL_LOG_WARN("evmu", __VA_ARGS__)
 
#define EVMU_LOG_ERROR(...)   GBL_LOG_ERROR("evmu", __VA_ARGS__)
 
#define EVMU_LOG_PUSH()   GBL_LOG_PUSH()
 
#define EVMU_LOG_POP(n)   GBL_LOG_POP(n)
 

Detailed Description

Top-level defines for EVMU API macros.

This file contains common, top-level macro declarations used throughout the codebase.

Author
2023 Falco Girgis

Definition in file evmu_api.h.

Macro Definition Documentation

◆ EVMU_EXPORT

#define EVMU_EXPORT   GBL_EXPORT

Define used for adding attributes to export public symbols.

Definition at line 18 of file evmu_api.h.

◆ EVMU_INLINE

#define EVMU_INLINE   GBL_INLINE

Define used for inlining a funcion within a C header file.

Definition at line 20 of file evmu_api.h.

◆ EVMU_LOG_DEBUG

#define EVMU_LOG_DEBUG (   ...)    GBL_LOG_DEBUG("evmu", __VA_ARGS__)

Writes a message to the log with the GBL_LOG_DEBUG flag within the "evmu" domain.

Definition at line 29 of file evmu_api.h.

◆ EVMU_LOG_ERROR

#define EVMU_LOG_ERROR (   ...)    GBL_LOG_ERROR("evmu", __VA_ARGS__)

Writes a message to the log with the GBL_LOG_ERROR flag within the "evmu" domain.

Definition at line 35 of file evmu_api.h.

◆ EVMU_LOG_INFO

#define EVMU_LOG_INFO (   ...)    GBL_LOG_INFO("evmu", __VA_ARGS__)

Writes a message to the log with the GBL_LOG_INFO flag within the "evmu" domain.

Definition at line 31 of file evmu_api.h.

◆ EVMU_LOG_POP

#define EVMU_LOG_POP (   n)    GBL_LOG_POP(n)

Pops n levels from the log stack within the "evmu" domain. See GBL_LOG_POP().

Definition at line 39 of file evmu_api.h.

◆ EVMU_LOG_PUSH

#define EVMU_LOG_PUSH ( )    GBL_LOG_PUSH()

Pushes a level to the log stack within the "evmu" domain. See GBL_LOG_PUSH().

Definition at line 37 of file evmu_api.h.

◆ EVMU_LOG_VERBOSE

#define EVMU_LOG_VERBOSE (   ...)    GBL_LOG_VERBOSE("evmu", __VA_ARGS__)

Writes a message to the log with the GBL_LOG_VERBOSE flag within the "evmu" domain.

Definition at line 27 of file evmu_api.h.

◆ EVMU_LOG_WARN

#define EVMU_LOG_WARN (   ...)    GBL_LOG_WARN("evmu", __VA_ARGS__)

Writes a message to the log with the GBL_LOG_WARN flag within the "evmu" domain.

Definition at line 33 of file evmu_api.h.