projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: disable array/sequence compile-time type check in C
[lttng-ust.git]
/
include
/
lttng
/
ust-utils.h
diff --git
a/include/lttng/ust-utils.h
b/include/lttng/ust-utils.h
index d815cf0cc465ef5f3a8864e12d5125fed85057ff..e60cdbe3b1a490934945d2c74ae93f86a0934384 100644
(file)
--- a/
include/lttng/ust-utils.h
+++ b/
include/lttng/ust-utils.h
@@
-62,6
+62,9
@@
* lttng_ust_is_pointer_type - check if type is a pointer
*
* Returns true if the type of @type is a pointer.
* lttng_ust_is_pointer_type - check if type is a pointer
*
* Returns true if the type of @type is a pointer.
+ *
+ * Note: The C implementation of lttng_ust_is_pointer_type uses pointer
+ * arithmetic, which does not work on opaque pointer types.
*/
#if defined(__cplusplus)
#define lttng_ust_is_pointer_type(type) (std::is_pointer<type>::value)
*/
#if defined(__cplusplus)
#define lttng_ust_is_pointer_type(type) (std::is_pointer<type>::value)
This page took
0.023099 seconds
and
4
git commands to generate.