Skip to content

Commit

Permalink
unified __restrict keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
rokath committed Dec 23, 2023
1 parent 6046bab commit 71b9d91
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

#ifdef __cplusplus
extern "C" {
#endif

#define RESTRICT restrict //!< Adapt it to your compiler: restrict, __restrict, __restrict__ or empty
#endif

//! TriceStamp16 returns a 16-bit value to stamp `Id` TRICE macros. Usually it is a timestamp, but could also be a destination address or a counter for example.
//! The user has to provide this function. Defining a macro here, instead if providing `int16_t TriceStamp16( void );` has significant speed impact.
Expand Down

0 comments on commit 71b9d91

Please sign in to comment.