include: implement REUSE with SPDX identifiers
[lttng-ust.git] / include / lttng / ust-utils.h
index d815cf0cc465ef5f3a8864e12d5125fed85057ff..575034faa5bae82fa3a5f890bb16b1702e70e86e 100644 (file)
@@ -1,8 +1,6 @@
-/*
- * SPDX-License-Identifier: MIT
- *
- * Copyright (C) 2010-2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- */
+// SPDX-FileCopyrightText: 2010-2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+//
+// 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<type>::value)
This page took 0.023125 seconds and 4 git commands to generate.