10 lines
316 B
C
10 lines
316 B
C
|
#pragma once
|
||
|
#include "log/Log.h"
|
||
|
#include "std/stdio.h"
|
||
|
#include <stdint.h>
|
||
|
|
||
|
// clang-format off
|
||
|
|
||
|
#define kinfoptr(pointer) char result##pointer[40 + sizeof(#pointer)]; snprintf(result##pointer, sizeof result##pointer, "%s points to 0x%zx\n", #pointer, (uint64_t)pointer); kinfo(result##pointer)
|
||
|
|
||
|
// clang-format on
|