mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-14 09:03:50 +01:00
core/lib/include/ringbuffer.h: removed trailing newline core/lib/include/irq.h: restored header guard for irq.h to resolve build errors core/lib/include/irq.h: added trailing newline to irq.h
44 lines
723 B
C
44 lines
723 B
C
/*
|
|
* Copyright (C) 2019 Gunar Schorcht
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/**
|
|
* @ingroup core_macros
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Macro to return string representation of x
|
|
*
|
|
* @author Gunar Schorcht <gunar@schorcht.net>
|
|
*/
|
|
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @def XTSTR
|
|
*
|
|
* @brief A macro to return the string representation of x
|
|
*/
|
|
#ifndef XTSTR
|
|
# ifndef DOXYGEN
|
|
# define _XTSTR(x) # x
|
|
# endif /* DOXYGEN */
|
|
# define XTSTR(x) _XTSTR(x)
|
|
#endif /* XTSTR */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|