2017-06-29 16:47:26 +02:00
|
|
|
#ifndef __PXTCORE_H
|
|
|
|
#define __PXTCORE_H
|
|
|
|
|
2018-09-19 01:31:40 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2017-07-05 18:53:22 +02:00
|
|
|
namespace pxt {
|
2017-07-01 12:43:10 +02:00
|
|
|
void dmesg(const char *fmt, ...);
|
2017-07-10 12:42:30 +02:00
|
|
|
#define DMESG pxt::dmesg
|
2017-07-05 18:53:22 +02:00
|
|
|
}
|
2017-06-29 16:47:26 +02:00
|
|
|
|
2018-09-19 01:31:40 +02:00
|
|
|
static inline void itoa(int v, char *dst) {
|
|
|
|
|
|
|
|
snprintf(dst, 30, "%d", v);
|
|
|
|
|
|
|
|
}
|
2017-06-29 16:47:26 +02:00
|
|
|
#endif
|