X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-utils.h;h=575034faa5bae82fa3a5f890bb16b1702e70e86e;hb=1c1968450409b3c159a3000f9e1a968ff1e5f7e8;hp=d815cf0cc465ef5f3a8864e12d5125fed85057ff;hpb=a9bd72496f60cd4cddb435cc6804381d6061feda;p=lttng-ust.git diff --git a/include/lttng/ust-utils.h b/include/lttng/ust-utils.h index d815cf0c..575034fa 100644 --- a/include/lttng/ust-utils.h +++ b/include/lttng/ust-utils.h @@ -1,8 +1,6 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright (C) 2010-2011 Mathieu Desnoyers - */ +// SPDX-FileCopyrightText: 2010-2011 Mathieu Desnoyers +// +// SPDX-License-Identifier: MIT #ifndef _LTTNG_UST_UTILS_H #define _LTTNG_UST_UTILS_H @@ -62,6 +60,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)