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:
parent
5a63f3ab1c
commit
81fe4b6afc
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user