X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-utils.h;h=e60cdbe3b1a490934945d2c74ae93f86a0934384;hb=f04f60a5f613b5a850dbe0ee4e983f21803db1ed;hp=d815cf0cc465ef5f3a8864e12d5125fed85057ff;hpb=6a9a0c0646c1aaae98b6ae3a083d836a37c2d4c3;p=lttng-ust.git diff --git a/include/lttng/ust-utils.h b/include/lttng/ust-utils.h index d815cf0c..e60cdbe3 100644 --- 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. + * + * 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::value)