projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename __LTTNG_COMPOUND_LITERAL to LTTNG_UST_COMPOUND_LITERAL
[lttng-ust.git]
/
include
/
lttng
/
ust-compiler.h
diff --git
a/include/lttng/ust-compiler.h
b/include/lttng/ust-compiler.h
index 7c858f87fb03bc5ce095797dc768eb32abed0d38..475caa30ea11131e7bfd607ecc6419708d5e0a23 100644
(file)
--- a/
include/lttng/ust-compiler.h
+++ b/
include/lttng/ust-compiler.h
@@
-48,12
+48,12
@@
* allocates those on the heap in C++.
*
* Example use:
* allocates those on the heap in C++.
*
* Example use:
- * static struct mystruct *var =
__LTTNG
_COMPOUND_LITERAL(struct mystruct, { 1, 2, 3 });
+ * static struct mystruct *var =
LTTNG_UST
_COMPOUND_LITERAL(struct mystruct, { 1, 2, 3 });
*/
#if defined (__cplusplus) && defined (LTTNG_ALLOCATE_COMPOUND_LITERAL_ON_HEAP)
*/
#if defined (__cplusplus) && defined (LTTNG_ALLOCATE_COMPOUND_LITERAL_ON_HEAP)
-#define
__LTTNG_COMPOUND_LITERAL(type, ...)
new (type) __VA_ARGS__
+#define
LTTNG_UST_COMPOUND_LITERAL(type, ...)
new (type) __VA_ARGS__
#else
#else
-#define
__LTTNG_COMPOUND_LITERAL(type, ...)
(type[]) { __VA_ARGS__ }
+#define
LTTNG_UST_COMPOUND_LITERAL(type, ...)
(type[]) { __VA_ARGS__ }
#endif
/*
#endif
/*
This page took
0.024058 seconds
and
4
git commands to generate.