2020-03-21 14:12:26 +01:00
|
|
|
//
|
|
|
|
// printf_lite.hpp
|
|
|
|
//
|
|
|
|
// Created by jief the 04 Apr 2019.
|
|
|
|
// Imported in CLover the 24 Feb 2020
|
|
|
|
//
|
|
|
|
#ifndef __PRINTF_LITE_CONF_H__
|
|
|
|
#define __PRINTF_LITE_CONF_H__
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stddef.h> // for size_t
|
|
|
|
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
typedef UINT16 wchar_t;
|
|
|
|
#endif
|
|
|
|
typedef UINT32 char32_t;
|
|
|
|
typedef UINT16 char16_t;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
# define __attribute__(x)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
#define DEFINE_SECTIONS 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#define PRINTF_CFUNCTION_PREFIX
|
|
|
|
#define PRINTF_CFUNCTION_SUFFIX f
|
2020-08-16 15:21:12 +02:00
|
|
|
#define PRINTF_EMIT_CR 0
|
2020-03-21 14:12:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // __PRINTF_LITE_CONF_H__
|