mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-08-06 10:27:34 +00:00
Improved printable implementation; data reading with macro
This commit is contained in:
@@ -35,16 +35,17 @@ namespace sta
|
||||
*
|
||||
* @param fmt See @ref sta::Printable::printf
|
||||
* @param ... See @ref sta::Printable::printf
|
||||
*
|
||||
* @ingroup sta_core_debug
|
||||
*/
|
||||
# define STA_DEBUG_PRINTF(fmt, ...) sta::Debug->printf(fmt, __VA_ARGS__)
|
||||
|
||||
/**
|
||||
* @brief Read string via printable.
|
||||
* @brief Read data via printable.
|
||||
*
|
||||
* @param ... See @ref sta::Printable::read
|
||||
*
|
||||
* @ingroup sta_core_debug
|
||||
*
|
||||
*/
|
||||
# define STA_DEBUG_READ(buffer, length) sta::Debug->read(buffer, length)
|
||||
|
||||
|
Reference in New Issue
Block a user