mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-12 09:36:00 +00:00
19 lines
363 B
C++
19 lines
363 B
C++
#include <sta/devices/template/custom_printable.hpp>
|
|
|
|
#ifdef STA_PLATFORM_YOUR_DEVICE
|
|
|
|
#include <sta/debug/assert.hpp>
|
|
|
|
namespace sta
|
|
{
|
|
void CustomPrintable::print(const char * str, size_t length)
|
|
{
|
|
STA_ASSERT(str != nullptr);
|
|
STA_ASSERT(length > 0);
|
|
|
|
// YOUR CODE HERE
|
|
}
|
|
} // namespace sta
|
|
|
|
#endif // STA_PLATFORM_YOUR_DEVICE
|