1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

documentation: extend description for CONST attribute

This commit is contained in:
Oleg Hahm 2014-04-30 19:16:20 +02:00
parent 5a63f3ab1c
commit 81fe4b6afc

View File

@ -33,7 +33,9 @@
/**
* @def CONST
* @brief A function declared as *CONST* is not allowed to read global memory
* @brief A function declared as *CONST* is #PURE and also not allowed to
* examine global memory. I.e. a *CONST* function cannot even
* dereference a pointer parameter.
*/
#ifdef __GNUC__
#define CONST __attribute__((const))