mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
xrt: Add XRT_NO_INLINE define
This commit is contained in:
parent
1e93ba2461
commit
f5a93699cb
|
@ -43,6 +43,17 @@
|
||||||
#define XRT_MAYBE_UNUSED
|
#define XRT_MAYBE_UNUSED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* To stop inlining.
|
||||||
|
*/
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
#define XRT_NO_INLINE __attribute__((noinline))
|
||||||
|
#else
|
||||||
|
#define XRT_NO_INLINE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* @define XRT_DEBUGBREAK()
|
* @define XRT_DEBUGBREAK()
|
||||||
* To trigger a trap/break in the debugger.
|
* To trigger a trap/break in the debugger.
|
||||||
|
|
Loading…
Reference in a new issue