lib: remove "For *" comments in public headers
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 10 Jul 2019 05:51:15 +0000 (01:51 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 10 Jul 2019 15:25:15 +0000 (11:25 -0400)
Those comments are very hard to maintain and are pretty much useless.
There are tools to ensure that headers include exactly what they need.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Idb7545526426e0a18e6a2fa8af20b9f22ed88407
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1672
Tested-by: jenkins <jenkins@lttng.org>
81 files changed:
include/babeltrace2/current-thread.h
include/babeltrace2/error-cause-const.h
include/babeltrace2/error-const.h
include/babeltrace2/graph/component-class-const.h
include/babeltrace2/graph/component-class-filter-const.h
include/babeltrace2/graph/component-class-filter.h
include/babeltrace2/graph/component-class-sink-const.h
include/babeltrace2/graph/component-class-sink.h
include/babeltrace2/graph/component-class-source-const.h
include/babeltrace2/graph/component-class-source.h
include/babeltrace2/graph/component-class.h
include/babeltrace2/graph/component-const.h
include/babeltrace2/graph/component-filter-const.h
include/babeltrace2/graph/component-sink-const.h
include/babeltrace2/graph/component-source-const.h
include/babeltrace2/graph/connection-const.h
include/babeltrace2/graph/graph-const.h
include/babeltrace2/graph/graph.h
include/babeltrace2/graph/message-const.h
include/babeltrace2/graph/message-discarded-events-const.h
include/babeltrace2/graph/message-discarded-events.h
include/babeltrace2/graph/message-discarded-packets-const.h
include/babeltrace2/graph/message-discarded-packets.h
include/babeltrace2/graph/message-event-const.h
include/babeltrace2/graph/message-event.h
include/babeltrace2/graph/message-message-iterator-inactivity-const.h
include/babeltrace2/graph/message-message-iterator-inactivity.h
include/babeltrace2/graph/message-packet-beginning-const.h
include/babeltrace2/graph/message-packet-beginning.h
include/babeltrace2/graph/message-packet-end-const.h
include/babeltrace2/graph/message-packet-end.h
include/babeltrace2/graph/message-stream-beginning-const.h
include/babeltrace2/graph/message-stream-beginning.h
include/babeltrace2/graph/message-stream-end-const.h
include/babeltrace2/graph/message-stream-end.h
include/babeltrace2/graph/port-const.h
include/babeltrace2/graph/port-input-const.h
include/babeltrace2/graph/port-output-const.h
include/babeltrace2/graph/port-output-message-iterator.h
include/babeltrace2/graph/query-executor-const.h
include/babeltrace2/graph/query-executor.h
include/babeltrace2/graph/self-component-class-filter.h
include/babeltrace2/graph/self-component-class-sink.h
include/babeltrace2/graph/self-component-class-source.h
include/babeltrace2/graph/self-component-filter.h
include/babeltrace2/graph/self-component-port-input-message-iterator.h
include/babeltrace2/graph/self-component-port-input.h
include/babeltrace2/graph/self-component-port-output.h
include/babeltrace2/graph/self-component-port.h
include/babeltrace2/graph/self-component-sink.h
include/babeltrace2/graph/self-component-source.h
include/babeltrace2/graph/self-component.h
include/babeltrace2/graph/self-message-iterator.h
include/babeltrace2/plugin/plugin-const.h
include/babeltrace2/plugin/plugin-dev.h
include/babeltrace2/plugin/plugin-set-const.h
include/babeltrace2/trace-ir/clock-class-const.h
include/babeltrace2/trace-ir/clock-class.h
include/babeltrace2/trace-ir/clock-snapshot-const.h
include/babeltrace2/trace-ir/event-class-const.h
include/babeltrace2/trace-ir/event-class.h
include/babeltrace2/trace-ir/event-const.h
include/babeltrace2/trace-ir/event.h
include/babeltrace2/trace-ir/field-class-const.h
include/babeltrace2/trace-ir/field-class.h
include/babeltrace2/trace-ir/field-const.h
include/babeltrace2/trace-ir/field-path-const.h
include/babeltrace2/trace-ir/field.h
include/babeltrace2/trace-ir/packet-const.h
include/babeltrace2/trace-ir/packet-context-field.h
include/babeltrace2/trace-ir/packet.h
include/babeltrace2/trace-ir/stream-class-const.h
include/babeltrace2/trace-ir/stream-class.h
include/babeltrace2/trace-ir/stream-const.h
include/babeltrace2/trace-ir/stream.h
include/babeltrace2/trace-ir/trace-class-const.h
include/babeltrace2/trace-ir/trace-class.h
include/babeltrace2/trace-ir/trace-const.h
include/babeltrace2/trace-ir/trace.h
include/babeltrace2/value-const.h
include/babeltrace2/value.h

index 125db20e1e1af00ce7f9695fd411577488975fdd..bf4d3b9139422829f86f160e8fc72fbd5620c889 100644 (file)
 
 #include <stdarg.h>
 
-/*
- * For bt_error, bt_self_component, bt_self_component_class, and
- * bt_self_message_iterator
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 8b4e36e06d8601df81f25d617a1c7e0f87cf544f..b5f022d32e8c6101ffa8333d034e66e99ca51987 100644 (file)
 #include <stdint.h>
 #include <stddef.h>
 
-/* For bt_error, bt_error_cause */
 #include <babeltrace2/types.h>
-
-/* For bt_component_class_type */
 #include <babeltrace2/graph/component-class-const.h>
 
 #ifdef __cplusplus
index bee1b7524443d928902b056bfebaff17eaa4c54d..8148b0d1095ebc7073711b6a25105226f987292a 100644 (file)
@@ -30,7 +30,6 @@
 #include <stdint.h>
 #include <stddef.h>
 
-/* For bt_error, bt_error_cause */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 250b07624be4822f0014859be63a98c28d568491..c9f6fec03ff8556843801e489a01e172eacb0abf 100644 (file)
@@ -28,7 +28,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_bool, bt_component_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index df8676000b77b17c103aa5819643d4a4c3172e51..908537e242f8dacfe410d768d8e368ce15bde9a0 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/*
- * For bt_component_class, bt_component_class_filter,
- * __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 3616b01ac7d334deb7f7898c5207f76d3ee18a69..47c91b3de724322507d4a318343076a8c7232a9e 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_component_class_*_status */
 #include <babeltrace2/graph/component-class.h>
-
-/*
- * For bt_component_class, bt_component_class_filter, bt_port_input,
- * bt_port_output, bt_query_executor, bt_self_component_class_filter,
- * bt_self_component_filter, bt_self_component_port_input,
- * bt_self_component_port_output, bt_value, bt_message_array_const,
- * bt_bool, bt_self_message_iterator, __BT_UPCAST
- */
 #include <babeltrace2/types.h>
-
-/* For bt_logging_level */
 #include <babeltrace2/logging.h>
 
 #ifdef __cplusplus
index d4833fbc63942d274169dbe886558c74a4da5422..82d73a1769fafc8b8718034de863b6a5e8698b57 100644 (file)
@@ -28,7 +28,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_component_class, bt_component_class_sink, __BT_UPCAST_CONST */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 48d647f50f87eaceda63ac9ad11b63caa0b4cc5d..609873e1c4d4620fe1e0abdbc64903c1548f52fe 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_component_class_*_status */
 #include <babeltrace2/graph/component-class.h>
-
-/*
- * For bt_component_class, bt_component_class_sink, bt_port_output,
- * bt_query_executor, bt_self_component_class_sink,
- * bt_self_component_sink, bt_self_component_port_input, bt_value,
- * __BT_UPCAST
- */
 #include <babeltrace2/types.h>
-
-/* For bt_logging_level */
 #include <babeltrace2/logging.h>
 
 #ifdef __cplusplus
index 42181ce6516569dba5a32b41626743087e797745..d41a33f0053ec4461033513c66813ae0217db7a0 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/*
- * For bt_component_class, bt_component_class_source,
- * __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 3aa89cef9e25374ded7cc72fd0f4ec8877c06021..252698b0e718b0d1ee86e56a8c0c33f0665c2bed 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_component_class_*_status */
 #include <babeltrace2/graph/component-class.h>
-
-/*
- * For bt_component_class, bt_component_class_source, bt_port_input,
- * bt_query_executor, bt_self_component_class_source,
- * bt_self_component_source, bt_self_component_port_output, bt_value,
- * bt_message_array_const, bt_bool, bt_self_message_iterator,
- * __BT_UPCAST
- */
 #include <babeltrace2/types.h>
-
-/* For bt_logging_level */
 #include <babeltrace2/logging.h>
 
 #ifdef __cplusplus
index b666ba93fd008022e43b3ae89873ea12b0c77c4c..2ad2f82810fdea96a7322ab6c839815ef90b1295 100644 (file)
@@ -28,7 +28,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_component_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index aa9f84ceef002ac643384ec01eb53ffd913f1bf4..31262994f7a1867c0ae1f8fe88ce7382b50b087e 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_component_class_type */
 #include <babeltrace2/graph/component-class-const.h>
-
-/*
- * For bt_bool, bt_component_class, bt_component_graph, bt_component,
- * bt_value, bt_port
- */
 #include <babeltrace2/types.h>
-
-/* For bt_logging_level */
 #include <babeltrace2/logging.h>
 
 #ifdef __cplusplus
index 270119517edb1b6831166e407db8c312cb487b46..dee45fe2014b5d959a1ae031a1c88e86c70668cc 100644 (file)
 
 #include <stdint.h>
 
-/*
- * For bt_component, bt_component_filter, bt_port_input, bt_port_output,
- * __BT_UPCAST_CONST, bt_component_class_filter
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index d6a39254c80fd4f1847087ceb915d940c8aac95a..dc0be9cdb6aeaf5aff10c71a2a8e7ef975ec679f 100644 (file)
 
 #include <stdint.h>
 
-/*
- * For bt_component, bt_component_filter, bt_port_input,
- * __BT_UPCAST_CONST, bt_component_class_sink
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index c0f4e9269060a7b207623cea1eb6a433025e26b7..9021571ff49daab931ffcf8249ce6320ae4e7004 100644 (file)
 
 #include <stdint.h>
 
-/*
- * For bt_component, bt_component_filter, bt_port_output,
- * __BT_UPCAST_CONST, bt_component_class_source
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 9f1f2a8738062a4b7f689c0587676133af9949f3..a3a46105b3fb90d985f5fab75215e3e540159e34 100644 (file)
@@ -28,7 +28,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_bool, bt_port_input, bt_port_output, bt_connection */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 8fd9a5d6dae2035c653f8558e943355fb9ea112c..a172e3b5df8d99d6442b8618037d93a38cc6193b 100644 (file)
@@ -28,7 +28,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_bool, bt_graph */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 4e85e4274c2571422d3c7dfacbe651e22573c086..75a9e048d691f19edd4d324f8be75fa532546d43 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/*
- * For bt_bool, bt_component, bt_component_class,
- * bt_component_class_filter, bt_component_class_sink,
- * bt_component_class_source, bt_component_filter, bt_component_sink,
- * bt_component_source, bt_connection, bt_graph, bt_port_input,
- * bt_port_output, bt_value
- */
 #include <babeltrace2/types.h>
-
-/* For bt_logging_level */
 #include <babeltrace2/logging.h>
 
 #ifdef __cplusplus
index cd3efe40caa3ad9a732550f622eea73c421781ce..9abf48707d7a44a6163b08c2dbfa64c9b07b1ad0 100644 (file)
@@ -28,7 +28,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_message */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 4f7da252ff538b69c23e2d6bb63c69ef65405a57..6ce8590a03b815da97a5155fe8675cfa0800c222 100644 (file)
@@ -27,7 +27,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_message, bt_clock_snapshot, bt_stream */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index b2b97d6fa49bfa29982f6f5eadb492b5db431e40..cbefcec03429eaad813713166c8d711508e46a28 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <stdint.h>
 
-/* For bt_message, bt_self_message_iterator, bt_stream */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 6bfee12e1de896cceb8fefcc1dca9b5b3c9b413c..e6c745355483efad3baef670fdb9d1ce7e28f4a4 100644 (file)
@@ -27,7 +27,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_message, bt_clock_snapshot, bt_stream */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index bc1896b1a7e5b56465d9a93a2365c7dbef6be52c..a4a9f600c8927b645ee790499471585eaa660fd8 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <stdint.h>
 
-/* For bt_message, bt_self_message_iterator, bt_stream */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 933582af2e7b1e956a20646ef96fb75a120edcd6..d1d1ebd89d5a1f5cda5822bd3b60e5054893c5aa 100644 (file)
@@ -28,7 +28,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_bool, bt_message, bt_event. bt_clock_class, bt_clock_snapshot */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index c7f48e087842993cb8dd8a2bf8536e4dfa1f0fc2..115cfb87cb4aa876221afc77ed00d1416480993e 100644 (file)
 
 #include <stdint.h>
 
-/*
- * For bt_self_message_iterator, bt_event, bt_packet, bt_stream,
- * bt_event_class, bt_message
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index ceeb7f86c46471dfad1f74cf5d5cb6c16ff7df5e..23a16903fa2b9f1b59858860df91130c2fabaf3d 100644 (file)
@@ -27,7 +27,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_message, bt_clock_snapshot */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index c738a6e9006d5bee274645a02828ff89bae5e07a..909d39971cf4bca3efcb1286c329ede90360ce37 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <stdint.h>
 
-/* For bt_self_message_iterator, bt_message, bt_clock_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index f0e2a0dd980dfe8864f7e5a58f5ef062cdda201c..1db945dec51aebc7a993c178ca52cf971e2d0cad 100644 (file)
@@ -28,7 +28,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_message, bt_packet, bt_clock_snapshot, bt_clock_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index a6942469a3e94591c7e676c5ef7767316633a901..85956f3989c796ce549afa69d4c5e208e26d4649 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <stdint.h>
 
-/* For bt_message, bt_self_message_iterator, bt_packet */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index feb857c3b6d3e86a715712175b550622a38787cc..fc0a986f4b3f3ffc7ecf51a16b6fcf2aeaa59af3 100644 (file)
@@ -28,7 +28,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_message, bt_packet, bt_clock_snapshot, bt_clock_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 5eb25e7bf072ae1c382a0fc3cb72b73d5ab2a725..2064b70e32c0b8be739ec7afc3a80b1e38391a24 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <stdint.h>
 
-/* For bt_message, bt_self_message_iterator, bt_packet */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 95b58f073d32ab51b6c45f9b6485aac8c42611c9..73466537e4ff28274b1a91527c716ca741808d09 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_message, bt_clock_snapshot, bt_stream */
 #include <babeltrace2/types.h>
-
-/* For bt_message_stream_clock_snapshot_state */
 #include <babeltrace2/graph/message-stream-const.h>
 
 #ifdef __cplusplus
index b798a65472e00817c7dacdb3deda50116ae7360c..6ab84302809df91af48a83159703b1b2294510d0 100644 (file)
@@ -28,7 +28,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_message, bt_self_message_iterator, bt_stream */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index b7bccc7d2d9cf14ce9074e2820317c2e2a4a6f9d..fa75e3cf17e2308182aeba335419b43ed1518632 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_message, bt_clock_snapshot, bt_stream */
 #include <babeltrace2/types.h>
-
-/* For bt_message_stream_clock_snapshot_state */
 #include <babeltrace2/graph/message-stream-const.h>
 
 #ifdef __cplusplus
index 948c53f534e98f206b3d93145b300ecb503a6233..22100d58b157eef089be74ae01c6b230bb4f8071 100644 (file)
@@ -28,7 +28,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_message, bt_self_message_iterator, bt_stream */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 3ed544265f9754c63f8c061af3382f966eebe4c0..b381dc09b7cdfce6acccd9fc019053d996405263 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <stdint.h>
 
-/* For bt_bool, bt_port, bt_connection, bt_component */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index a1b32eced56e870afd67829ba2c38aea285d8399..abc0b82b9651588e3dfa6c03102f61dfeeb502ad 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_port, bt_port_input, __BT_UPCAST_CONST */
-#include <babeltrace2/types.h>
-
 #include <stdint.h>
 
+#include <babeltrace2/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index b923691adffde85f52f18409e4f5b74e541f4fff..a1d8d8470c9d0894d34aef2a1652c9a314a24794 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_port, bt_port_output, __BT_UPCAST_CONST */
-#include <babeltrace2/types.h>
-
 #include <stdint.h>
 
+#include <babeltrace2/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 04bed3dcffc49952032bc771cf0e2e1c7993dabe..8a34815c1ee517b6082199508c8ea7789b7689fc 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_message_iterator_*_status */
 #include <babeltrace2/graph/message-iterator.h>
-
-/*
- * For bt_port, bt_message, bt_message_iterator,
- * bt_port_output_message_iterator, bt_graph, bt_port_output,
- * bt_message_array_const, bt_bool, __BT_UPCAST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 6fa6f332d9a8b8eb52240038b8a435628be45ff3..63c21e091435e3a9d9ee32676a29e1778d5abdd3 100644 (file)
@@ -27,7 +27,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_bool, bt_query_executor */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 2992cb477a13da6e7812fe664cf91681486bf578..6618f3c6aa39a8efcade45ac97b3f96a0007b6d7 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_query_executor, bt_component_class, bt_value */
 #include <babeltrace2/types.h>
-
-/* For bt_logging_level */
 #include <babeltrace2/logging.h>
 
 #ifdef __cplusplus
index f901c7abd7ba141fdf87e25c2a1598b9eacd6204..8a6d1228ce617e0e4f14765cacb2c1554cfd5d96 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/*
- * For bt_component_class_filter, bt_self_component_class_filter,
- * __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index ec116f47c23465b293189d46e94c619623745e4b..1a546a30b2b38d1e83d5a25906140a20781b5373 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/*
- * For bt_component_class_sink, bt_self_component_class_sink,
- * __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 6d4dd082f3e8756ff355ed9b8b8a29af8e86fc43..35506a341e732e2c7973aaf504d74e44c4eadcae 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/*
- * For bt_component_class_source, bt_self_component_class_source,
- * __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 2d07f31f3e87598aa702af51ccf8886d75deb726..9e6490a7cf026fbb6a7d7047eee46c0754110333 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_self_component_*_status */
 #include <babeltrace2/graph/self-component.h>
-
-/*
- * For bt_component_filter, bt_self_component, bt_self_component_filter,
- * bt_self_component_port_input, bt_self_component_port_output,
- * __BT_UPCAST, __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index d53353b71d6b2354655e174fbefb1eaa22a7ee94..2c4d262c6e3673bef50fcb4853693e2dce52c9dc 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_message_iterator_*_status */
 #include <babeltrace2/graph/message-iterator.h>
-
-/*
- * For bt_component, bt_message_iterator,
- * bt_self_component_port_input_message_iterator,
- * bt_self_component_port_input, bt_message_array_const, bt_bool,
- * __BT_UPCAST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 29bde50d7b2896df84c9f12d791a6add486f9a04..eda12cafe7f62d243b7a697c236a02b8eae2ce10 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/*
- * For bt_port_input, bt_self_component_port,
- * bt_self_component_port_input, __BT_UPCAST, __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 8e13d7d1868e6a8a6b3cc85dc74f7e09df734d56..e8e898e2e769cc42fb66de74f0eb070619ade684 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/*
- * For bt_port_output, bt_self_component_port,
- * bt_self_component_port_output, __BT_UPCAST, __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index bd93753d0807d47786020049ebdd433f4a0e8dab..bcdbbb7e5001cbf5065c1f4930355c99b9501879 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/*
- * For bt_port, bt_self_component_port, bt_self_component,
- * bt_connection, __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index ed9c307e12830a8e9e6667a6d693e83d65c83d45..1850a597370cdda2433593648cae2dcdd3400e33 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_self_component_*_status */
 #include <babeltrace2/graph/self-component.h>
-
-/*
- * For bt_component_sink, bt_self_component, bt_self_component_sink,
- * bt_self_component_port_input, __BT_UPCAST, __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 6dac6f6410a83fad74a01d2ad700461019860fbc..7e470f4b0ecbb08ef066a20149052338c26e7f26 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_self_component_*_status */
 #include <babeltrace2/graph/self-component.h>
-
-/*
- * For bt_component_source, bt_self_component, bt_self_component_source,
- * bt_self_component_port_output, __BT_UPCAST, __BT_UPCAST_CONST
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index f0b02ee80a6486f1d687d1fb308d674023b4229c..ee343d5f5523335a99dc93416938b76b6b3ba1dd 100644 (file)
@@ -27,7 +27,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_component, bt_self_component, __BT_UPCAST */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 155542b87416f002bb5c9947e9a1595736adefdc..c5214a77d1164e8c781df1f953f2c41c670c3c08 100644 (file)
@@ -27,7 +27,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_self_component, bt_self_message_iterator, bt_self_port_output */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index df82ddc029895705227110af8a3fbd382c9e6025..cc151b18ed71c7ac66f0f710f4722e883926e6c3 100644 (file)
 #include <stdint.h>
 #include <stddef.h>
 
-/*
- * For bt_bool, bt_plugin, bt_plugin_set, bt_component_class,
- * bt_component_class_source, bt_component_class_filter,
- * bt_component_class_sink
- */
 #include <babeltrace2/types.h>
-
-/* For bt_property_availability */
 #include <babeltrace2/property.h>
 
 #ifdef __cplusplus
index e2b03be09434678f946c6ed34ae2aafbb5d017bf..84dca71ceaa8db1f553d2162a5006c9ec1ad0008 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_component_class_type */
 #include <babeltrace2/graph/component-class-const.h>
-
-/* For component class method type definitions */
 #include <babeltrace2/graph/component-class-source.h>
 #include <babeltrace2/graph/component-class-filter.h>
 #include <babeltrace2/graph/component-class-sink.h>
-
-/* For bt_self_plugin */
 #include <babeltrace2/types.h>
 
 /*
index 6e68b30f998716b443835e1b146e05cb99058aa9..c76cfdc11ae1c7b1d1062c640dc57d628fc79ae5 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <stdint.h>
 
-/* For bt_plugin, bt_plugin_set */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index efc27060839a5e73c025b3616f27209e3c5afe59..76e385e6c245620b2bf1d85a1001b25aae86f5a1 100644 (file)
@@ -33,7 +33,6 @@
 
 #include <stdint.h>
 
-/* For bt_bool, bt_uuid, bt_clock_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 556366f086884853a1ef1e4893566f7d2dc24327..49eaf72189f212040084970fdf1f46febfb28237 100644 (file)
@@ -33,7 +33,6 @@
 
 #include <stdint.h>
 
-/* For bt_bool, bt_uuid, bt_clock_class, bt_trace_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index e0d87b92b501ffe7bc7232c40262db3a2aab4c9a..59156f814d414776bc5fd3ec167df891beb86afa 100644 (file)
@@ -33,7 +33,6 @@
 
 #include <stdint.h>
 
-/* For bt_clock_class, bt_clock_snapshot */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 23c8acd14b463a02f5bf4f6deb3598fe57a7543a..ba83871ae8a17e7440d6be4f529178d67b4ecadf 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_property_availability */
-#include <babeltrace2/property.h>
-
-/* For bt_event_class, bt_field_class, bt_stream_class */
-#include <babeltrace2/types.h>
-
 #include <stdint.h>
 #include <stddef.h>
 
+#include <babeltrace2/property.h>
+#include <babeltrace2/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 9b67e943749cf1afa4384be18ef81e3f6e942a16..98a95caaef288a119f9a070adbd2c11331f28abb 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_event_class_log_level */
 #include <babeltrace2/trace-ir/event-class-const.h>
-
-/* For bt_event_class, bt_stream_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index ff8c07108c864d396b39f1c0154102b98c3ed2ad..c617bd050c1cc058d6622c2d12836fc88c63a5ab 100644 (file)
@@ -31,7 +31,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_event, bt_event_class, bt_field, bt_packet */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 00fe64a2e8c1fa5afaea9755de8b1559debd7a76..0ef59e990cf096a5a25c961e80e9d8c0758cb4ea 100644 (file)
@@ -31,7 +31,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_event, bt_event_class, bt_field, bt_packet */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 5a8b2b49955d9f6150a66f7a5f7db61444b02c2a..e7597621d3f19388b1b11c639b6e516de672f777 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/*
- * For bt_bool, bt_field_class, bt_field_path,
- * bt_field_class_enumeration_mapping,
- * bt_field_class_unsigned_enumeration_mapping,
- * bt_field_class_signed_enumeration_mapping,
- * bt_field_class_enumeration_mapping_label_array, __BT_UPCAST_CONST
- */
-#include <babeltrace2/types.h>
-
 #include <stdint.h>
 #include <stddef.h>
 
+#include <babeltrace2/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index f66fbb44525383a0f1bc775f27834cce0fa3f8ce..f0e4868d7b831cab3028693eddac92752875961b 100644 (file)
 #include <stdint.h>
 #include <stddef.h>
 
-/* For bt_bool, bt_field_class, bt_trace_class */
 #include <babeltrace2/types.h>
-
-/* For bt_field_class_integer_preferred_display_base */
 #include <babeltrace2/trace-ir/field-class-const.h>
 
 #ifdef __cplusplus
index c2e39fd356d9eb6f71efc2535e5dff636107b363..0ce6845740c763fb6fc64c07431e34b46f4cba9c 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_field_class_type */
 #include <babeltrace2/trace-ir/field-class.h>
-
-/* For bt_field, bt_field_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 286450fe8bb9e30f629a27a18c1a2a0bdea3e9f3..cc56de10fb6f018b008c64c8d80f9dd55c2e8144 100644 (file)
@@ -32,7 +32,6 @@
 
 #include <stdint.h>
 
-/* For bt_field_path, bt_field_path_item */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 4910927f82127cc295be26c32474c25b3dd77768..9814240547770351f816bc40c151821478701c77 100644 (file)
@@ -33,7 +33,6 @@
 
 #include <stdint.h>
 
-/* For bt_field, bt_field_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 5390a165f5862229d76b7dfeff23533507ef0349..f2707be6d8989739ce3bdee3753aafef6ab12215 100644 (file)
 
 #include <stdint.h>
 
-/* For bt_property_availability */
 #include <babeltrace2/property.h>
-
-/*
- * For bt_packet, bt_packet_context_field, bt_stream
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 376373e6f543977fd123a6ed2dc7f8200822e93e..c172261f1639f7f39490d792657ad9e14a1726a8 100644 (file)
@@ -30,7 +30,6 @@
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_stream_class, bt_packet_context_field, bt_field */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index bc45a4eb3b45d0d305a6ebb65d6f8658dea2bb75..ff473534a77cb250981b2c2f3801202b48569e0d 100644 (file)
@@ -32,7 +32,6 @@
 
 #include <stdint.h>
 
-/* For bt_packet, bt_packet_context_field, bt_stream */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index d8233830580049d91ca6a867e86608c44d4ed0ca..e00e83980768ea4b2a9d4f1f75b2768f48c8e0ea 100644 (file)
 
 #include <stdint.h>
 
-/*
- * For bt_bool, bt_trace_class, bt_stream_class, bt_event_class,
- * bt_stream_class
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 48d506376c6ef8c24b028061dda5504a39b6b43f..21c0c5ffca4a011961d01b4f28fcad52c5f3a112 100644 (file)
 
 #include <stdint.h>
 
-/*
- * For bt_bool, bt_trace_class, bt_stream_class, bt_event_class,
- * bt_clock_class
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 61da523d61897c509823ed4166e213ad224ab7c9..b35435fd3552b92f83da909c6da55ab0ec81557b 100644 (file)
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
 
-/* For bt_trace, bt_stream, bt_stream_class */
-#include <babeltrace2/types.h>
-
 #include <stdint.h>
 
+#include <babeltrace2/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
index 8006dc5967deed7493a8bbeae25070f7beefa95c..4ec4d0a9162db20b2acd396f5ba4e4293dc22080 100644 (file)
@@ -33,7 +33,6 @@
 
 #include <stdint.h>
 
-/* For bt_trace, bt_stream, bt_stream_class */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index ca75bee48550c4002014ffb0bbb633d0b5064207..f5481431072eddb3a656b11c9c93a82a87b1658c 100644 (file)
 
 #include <stdint.h>
 
-/*
- * For bt_bool, bt_uuid, bt_trace_class, bt_stream_class,
- * bt_field_class, bt_value
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 52a87bab048029f54eb79abc0d5b2e03535330d8..aceb0d6ff13795596e31201e7933ca8602a2bb88 100644 (file)
@@ -33,7 +33,6 @@
 
 #include <stdint.h>
 
-/* For bt_bool, bt_trace_class, bt_stream_class, bt_self_component */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index db06dcba30fb2fd8dcc79c0e20940b36461a76b5..45b273f666b228225efca10eb85e713d2f903c4c 100644 (file)
 
 #include <stdint.h>
 
-/*
- * For bt_bool, bt_uuid, bt_trace, bt_stream, bt_stream_class,
- * bt_field_class, bt_value
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 0e0887210634ef7076932945f9b316334022bab2..339125133fea44ecfd103e7c40238642b34ff307 100644 (file)
@@ -33,7 +33,6 @@
 
 #include <stdint.h>
 
-/* For bt_bool, bt_uuid, bt_trace, bt_trace_class, bt_stream */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index f443a75597a777064fd0508919299e731291f28e..a3760c07bd6c4fba155a7fcb911009fb8e1ac804 100644 (file)
@@ -30,7 +30,6 @@
 #include <stdint.h>
 #include <stddef.h>
 
-/* For bt_bool, bt_value */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
index 87190173b39e7dc16ab996f44f60cff1ded70e09..9fd0e95f950bfc3f99dc80382bc79a9d0194576c 100644 (file)
 #include <stdint.h>
 #include <stddef.h>
 
-/* For bt_bool, bt_value */
 #include <babeltrace2/types.h>
-
-/* For bt_value_type */
 #include <babeltrace2/value-const.h>
 
 #ifdef __cplusplus
This page took 0.050909 seconds and 4 git commands to generate.