From eeb9eaa64243536c5d5c19279c9c305a52d0b9b3 Mon Sep 17 00:00:00 2001 From: Sander Mertens Date: Sat, 13 Jul 2024 20:21:25 -0700 Subject: [PATCH] Fix incorrect @file headers --- flecs.c | 66 +++++++++---------- src/addons/json/deserialize.c | 2 +- src/addons/json/deserialize_legacy.c | 2 +- src/addons/json/deserialize_value.c | 2 +- src/addons/json/json.c | 2 +- src/addons/json/json.h | 2 +- src/addons/json/serialize_entity.c | 2 +- src/addons/json/serialize_field_info.c | 4 +- src/addons/json/serialize_iter.c | 2 +- src/addons/json/serialize_iter_result.c | 2 +- src/addons/json/serialize_iter_result_query.c | 2 +- src/addons/json/serialize_iter_result_table.c | 2 +- src/addons/json/serialize_query_info.c | 2 +- src/addons/json/serialize_type_info.c | 2 +- src/addons/json/serialize_value.c | 2 +- src/addons/json/serialize_world.c | 2 +- src/addons/meta/api.c | 2 +- src/addons/meta/c_utils.c | 2 +- src/addons/meta/cursor.c | 2 +- src/addons/meta/definitions.c | 2 +- src/addons/meta/meta.c | 2 +- src/addons/meta/meta.h | 2 +- src/addons/meta/serialized.c | 2 +- src/addons/pipeline/pipeline.c | 2 +- src/query/validator.c | 2 +- src/storage/id_index.c | 2 +- src/storage/id_index.h | 2 +- src/storage/table.c | 2 +- src/storage/table.h | 2 +- src/storage/table_cache.c | 2 +- src/storage/table_cache.h | 2 +- src/storage/table_graph.c | 2 +- src/storage/table_graph.h | 2 +- 33 files changed, 66 insertions(+), 66 deletions(-) diff --git a/flecs.c b/flecs.c index dd6f71a37c..ec3f4ba760 100644 --- a/flecs.c +++ b/flecs.c @@ -271,7 +271,7 @@ void flecs_bitset_swap( #endif /** - * @file table.h + * @file storage/table.h * @brief Table storage implementation. */ @@ -279,7 +279,7 @@ void flecs_bitset_swap( #define FLECS_TABLE_H /** - * @file table_graph.h + * @file storage/table_graph.h * @brief Table graph types and functions. */ @@ -1010,7 +1010,7 @@ struct ecs_world_t { #endif /** - * @file table_cache.h + * @file storage/table_cache.h * @brief Data structure for fast table iteration/lookups. */ @@ -1082,7 +1082,7 @@ ecs_table_cache_hdr_t* flecs_table_cache_next_( #endif /** - * @file id_index.h + * @file storage/id_index.h * @brief Index for looking up tables by (component) id. */ @@ -32969,7 +32969,7 @@ void flecs_query_apply_iter_flags( } /** - * @file validator.c + * @file query/validator.c * @brief Validate and finalize queries. */ @@ -34842,7 +34842,7 @@ const uint64_t* flecs_entity_index_ids( } /** - * @file id_index.c + * @file storage/id_index.c * @brief Index for looking up tables by (component) id. * * An id record stores the administration for an in use (component) id, that is @@ -35519,7 +35519,7 @@ void flecs_fini_id_records( } /** - * @file table.c + * @file storage/table.c * @brief Table storage implementation. * * Tables are the data structure that store the component data. Tables have @@ -37913,7 +37913,7 @@ ecs_record_t* ecs_record_find( } /** - * @file table_cache.c + * @file storage/table_cache.c * @brief Data structure for fast table iteration/lookups. * * A table cache is a data structure that provides constant time operations for @@ -38204,7 +38204,7 @@ ecs_table_cache_hdr_t* flecs_table_cache_next_( } /** - * @file table_graph.c + * @file storage/table_graph.c * @brief Data structure to speed up table transitions. * * The table graph is used to speed up finding tables in add/remove operations. @@ -39446,12 +39446,12 @@ ecs_table_t* ecs_table_find( } /** - * @file json/deserialize.c + * @file addons/json/deserialize.c * @brief Deserialize JSON strings into (component) values. */ /** - * @file json/json.h + * @file addons/json/json.h * @brief Internal functions for JSON addon. */ @@ -40539,7 +40539,7 @@ const char* ecs_world_from_json_file( #endif /** - * @file json/deserialize.c + * @file addons/json/deserialize_legacy.c * @brief Deserialize JSON strings into (component) values. */ @@ -41617,7 +41617,7 @@ const char* ecs_world_from_json_file_legacy( #endif /** - * @file json/deserialize.c + * @file addons/json/deserialize_value.c * @brief Deserialize JSON strings into (component) values. */ @@ -41772,7 +41772,7 @@ const char* ecs_ptr_from_json( #endif /** - * @file json/json.c + * @file addons/json/json.c * @brief JSON serializer utilities. */ @@ -42461,12 +42461,12 @@ ecs_primitive_kind_t flecs_json_op_to_primitive_kind( #endif /** - * @file json/serialize_entity.c + * @file addons/json/serialize_entity.c * @brief Serialize single entity. */ /** - * @file meta/meta.h + * @file addons/meta/meta.h * @brief Private functions for meta addon. */ @@ -42592,8 +42592,8 @@ char* ecs_entity_to_json( #endif /** - * @file json/serialize_type_info.c - * @brief Serialize type (reflection) information to JSON. + * @file addons/json/serialize_field_info.c + * @brief Serialize query field information to JSON. */ @@ -42690,7 +42690,7 @@ void flecs_json_serialize_field( #endif /** - * @file json/serialize_iter.c + * @file addons/json/serialize_iter.c * @brief Serialize iterator to JSON. */ @@ -43026,7 +43026,7 @@ char* ecs_iter_to_json( #endif /** - * @file json/serialize_iter_rows.c + * @file addons/json/serialize_iter_rows.c * @brief Serialize (component) values to JSON strings. */ @@ -43521,7 +43521,7 @@ int flecs_json_serialize_iter_result( #endif /** - * @file json/serialize_iter_result_query.c + * @file addons/json/serialize_iter_result_query.c * @brief Serialize matched query data of result. */ @@ -43803,7 +43803,7 @@ int flecs_json_serialize_iter_result_query( #endif /** - * @file json/serialize_iter_result_table.c + * @file addons/json/serialize_iter_result_table.c * @brief Serialize all components of matched entity. */ @@ -44307,7 +44307,7 @@ int flecs_json_serialize_iter_result_table( #endif /** - * @file json/serialize_query_info.c + * @file addons/json/serialize_query_info.c * @brief Serialize (component) values to JSON strings. */ @@ -44511,7 +44511,7 @@ void flecs_json_serialize_query( #endif /** - * @file json/serialize_type_info.c + * @file addons/json/serialize_type_info.c * @brief Serialize type (reflection) information to JSON. */ @@ -44958,7 +44958,7 @@ char* ecs_type_info_to_json( #endif /** - * @file json/serialize_iter.c + * @file addons/json/serialize_value.c * @brief Serialize value to JSON. */ @@ -45552,7 +45552,7 @@ char* ecs_ptr_to_json( #endif /** - * @file json/serialize_world.c + * @file addons/json/serialize_world.c * @brief Serialize world to JSON. */ @@ -45624,7 +45624,7 @@ char* ecs_world_to_json( /** - * @file meta/api.c + * @file addons/meta/api.c * @brief API for creating entities with reflection data. */ @@ -46219,7 +46219,7 @@ ecs_entity_t ecs_quantity_init( #endif /** - * @file addons/meta_c.c + * @file addons/meta/c_utils.c * @brief C utilities for meta addon. */ @@ -47072,7 +47072,7 @@ int ecs_meta_from_desc( #endif /** - * @file meta/cursor.c + * @file addons/meta/cursor.c * @brief API for assigning values of runtime types with reflection. */ @@ -49168,7 +49168,7 @@ double ecs_meta_ptr_to_float( /** - * @file meta/definitions.c + * @file addons/meta/definitions.c * @brief Reflection definitions for builtin types. */ @@ -49453,7 +49453,7 @@ void flecs_meta_import_definitions( #endif /** - * @file meta/meta.c + * @file addons/meta/meta.c * @brief Meta addon. */ @@ -50915,7 +50915,7 @@ void FlecsMetaImport( #endif /** - * @file meta/serialized.c + * @file addons/meta/serialized.c * @brief Serialize type into flat operations array to speed up deserialization. */ @@ -51851,7 +51851,7 @@ void ecs_set_os_api_impl(void) { #endif /** - * @file addons/ipeline/pipeline.c + * @file addons/pipeline/pipeline.c * @brief Functions for building and running pipelines. */ diff --git a/src/addons/json/deserialize.c b/src/addons/json/deserialize.c index 15639e9693..93b0ddb4e7 100644 --- a/src/addons/json/deserialize.c +++ b/src/addons/json/deserialize.c @@ -1,5 +1,5 @@ /** - * @file json/deserialize.c + * @file addons/json/deserialize.c * @brief Deserialize JSON strings into (component) values. */ diff --git a/src/addons/json/deserialize_legacy.c b/src/addons/json/deserialize_legacy.c index f3c436e636..ffc33c81e0 100644 --- a/src/addons/json/deserialize_legacy.c +++ b/src/addons/json/deserialize_legacy.c @@ -1,5 +1,5 @@ /** - * @file json/deserialize.c + * @file addons/json/deserialize_legacy.c * @brief Deserialize JSON strings into (component) values. */ diff --git a/src/addons/json/deserialize_value.c b/src/addons/json/deserialize_value.c index 996be8e24e..6de6fe3ba9 100644 --- a/src/addons/json/deserialize_value.c +++ b/src/addons/json/deserialize_value.c @@ -1,5 +1,5 @@ /** - * @file json/deserialize.c + * @file addons/json/deserialize_value.c * @brief Deserialize JSON strings into (component) values. */ diff --git a/src/addons/json/json.c b/src/addons/json/json.c index e06d03423a..e2cb202d43 100644 --- a/src/addons/json/json.c +++ b/src/addons/json/json.c @@ -1,5 +1,5 @@ /** - * @file json/json.c + * @file addons/json/json.c * @brief JSON serializer utilities. */ diff --git a/src/addons/json/json.h b/src/addons/json/json.h index 25712f5f42..d89e38ee36 100644 --- a/src/addons/json/json.h +++ b/src/addons/json/json.h @@ -1,5 +1,5 @@ /** - * @file json/json.h + * @file addons/json/json.h * @brief Internal functions for JSON addon. */ diff --git a/src/addons/json/serialize_entity.c b/src/addons/json/serialize_entity.c index 9a177c4b22..0ea9f2d153 100644 --- a/src/addons/json/serialize_entity.c +++ b/src/addons/json/serialize_entity.c @@ -1,5 +1,5 @@ /** - * @file json/serialize_entity.c + * @file addons/json/serialize_entity.c * @brief Serialize single entity. */ diff --git a/src/addons/json/serialize_field_info.c b/src/addons/json/serialize_field_info.c index 327cdfb058..d9286831dd 100644 --- a/src/addons/json/serialize_field_info.c +++ b/src/addons/json/serialize_field_info.c @@ -1,6 +1,6 @@ /** - * @file json/serialize_type_info.c - * @brief Serialize type (reflection) information to JSON. + * @file addons/json/serialize_field_info.c + * @brief Serialize query field information to JSON. */ #include "json.h" diff --git a/src/addons/json/serialize_iter.c b/src/addons/json/serialize_iter.c index 875d57e3f8..9254caf231 100644 --- a/src/addons/json/serialize_iter.c +++ b/src/addons/json/serialize_iter.c @@ -1,5 +1,5 @@ /** - * @file json/serialize_iter.c + * @file addons/json/serialize_iter.c * @brief Serialize iterator to JSON. */ diff --git a/src/addons/json/serialize_iter_result.c b/src/addons/json/serialize_iter_result.c index 54112d1678..f7a82581d2 100644 --- a/src/addons/json/serialize_iter_result.c +++ b/src/addons/json/serialize_iter_result.c @@ -1,5 +1,5 @@ /** - * @file json/serialize_iter_rows.c + * @file addons/json/serialize_iter_rows.c * @brief Serialize (component) values to JSON strings. */ diff --git a/src/addons/json/serialize_iter_result_query.c b/src/addons/json/serialize_iter_result_query.c index 6484489a43..ee65924aca 100644 --- a/src/addons/json/serialize_iter_result_query.c +++ b/src/addons/json/serialize_iter_result_query.c @@ -1,5 +1,5 @@ /** - * @file json/serialize_iter_result_query.c + * @file addons/json/serialize_iter_result_query.c * @brief Serialize matched query data of result. */ diff --git a/src/addons/json/serialize_iter_result_table.c b/src/addons/json/serialize_iter_result_table.c index da7eab3147..eccc45993c 100644 --- a/src/addons/json/serialize_iter_result_table.c +++ b/src/addons/json/serialize_iter_result_table.c @@ -1,5 +1,5 @@ /** - * @file json/serialize_iter_result_table.c + * @file addons/json/serialize_iter_result_table.c * @brief Serialize all components of matched entity. */ diff --git a/src/addons/json/serialize_query_info.c b/src/addons/json/serialize_query_info.c index 46eb138264..a614788f4c 100644 --- a/src/addons/json/serialize_query_info.c +++ b/src/addons/json/serialize_query_info.c @@ -1,5 +1,5 @@ /** - * @file json/serialize_query_info.c + * @file addons/json/serialize_query_info.c * @brief Serialize (component) values to JSON strings. */ diff --git a/src/addons/json/serialize_type_info.c b/src/addons/json/serialize_type_info.c index 2549d914b8..731f43ddea 100644 --- a/src/addons/json/serialize_type_info.c +++ b/src/addons/json/serialize_type_info.c @@ -1,5 +1,5 @@ /** - * @file json/serialize_type_info.c + * @file addons/json/serialize_type_info.c * @brief Serialize type (reflection) information to JSON. */ diff --git a/src/addons/json/serialize_value.c b/src/addons/json/serialize_value.c index 1544ccad6a..f0662c0599 100644 --- a/src/addons/json/serialize_value.c +++ b/src/addons/json/serialize_value.c @@ -1,5 +1,5 @@ /** - * @file json/serialize_iter.c + * @file addons/json/serialize_value.c * @brief Serialize value to JSON. */ diff --git a/src/addons/json/serialize_world.c b/src/addons/json/serialize_world.c index bd9b3e90f5..936804283c 100644 --- a/src/addons/json/serialize_world.c +++ b/src/addons/json/serialize_world.c @@ -1,5 +1,5 @@ /** - * @file json/serialize_world.c + * @file addons/json/serialize_world.c * @brief Serialize world to JSON. */ diff --git a/src/addons/meta/api.c b/src/addons/meta/api.c index 82884ece8b..fd9bf8b103 100644 --- a/src/addons/meta/api.c +++ b/src/addons/meta/api.c @@ -1,5 +1,5 @@ /** - * @file meta/api.c + * @file addons/meta/api.c * @brief API for creating entities with reflection data. */ diff --git a/src/addons/meta/c_utils.c b/src/addons/meta/c_utils.c index a9d73a37af..1feee3e2cf 100644 --- a/src/addons/meta/c_utils.c +++ b/src/addons/meta/c_utils.c @@ -1,5 +1,5 @@ /** - * @file addons/meta_c.c + * @file addons/meta/c_utils.c * @brief C utilities for meta addon. */ diff --git a/src/addons/meta/cursor.c b/src/addons/meta/cursor.c index 66dd9a3138..78c416149e 100644 --- a/src/addons/meta/cursor.c +++ b/src/addons/meta/cursor.c @@ -1,5 +1,5 @@ /** - * @file meta/cursor.c + * @file addons/meta/cursor.c * @brief API for assigning values of runtime types with reflection. */ diff --git a/src/addons/meta/definitions.c b/src/addons/meta/definitions.c index 5c6406671e..a31307ce3a 100644 --- a/src/addons/meta/definitions.c +++ b/src/addons/meta/definitions.c @@ -1,6 +1,6 @@ /** - * @file meta/definitions.c + * @file addons/meta/definitions.c * @brief Reflection definitions for builtin types. */ diff --git a/src/addons/meta/meta.c b/src/addons/meta/meta.c index 45a6f6a1d5..bcc88373d6 100644 --- a/src/addons/meta/meta.c +++ b/src/addons/meta/meta.c @@ -1,5 +1,5 @@ /** - * @file meta/meta.c + * @file addons/meta/meta.c * @brief Meta addon. */ diff --git a/src/addons/meta/meta.h b/src/addons/meta/meta.h index 188c678edb..7c56a96b61 100644 --- a/src/addons/meta/meta.h +++ b/src/addons/meta/meta.h @@ -1,5 +1,5 @@ /** - * @file meta/meta.h + * @file addons/meta/meta.h * @brief Private functions for meta addon. */ diff --git a/src/addons/meta/serialized.c b/src/addons/meta/serialized.c index b2a477432c..0a9260bc76 100644 --- a/src/addons/meta/serialized.c +++ b/src/addons/meta/serialized.c @@ -1,5 +1,5 @@ /** - * @file meta/serialized.c + * @file addons/meta/serialized.c * @brief Serialize type into flat operations array to speed up deserialization. */ diff --git a/src/addons/pipeline/pipeline.c b/src/addons/pipeline/pipeline.c index e4a186aa74..102a4750ec 100644 --- a/src/addons/pipeline/pipeline.c +++ b/src/addons/pipeline/pipeline.c @@ -1,5 +1,5 @@ /** - * @file addons/ipeline/pipeline.c + * @file addons/pipeline/pipeline.c * @brief Functions for building and running pipelines. */ diff --git a/src/query/validator.c b/src/query/validator.c index 71e9ea42ad..9f584ebdb4 100644 --- a/src/query/validator.c +++ b/src/query/validator.c @@ -1,5 +1,5 @@ /** - * @file validator.c + * @file query/validator.c * @brief Validate and finalize queries. */ diff --git a/src/storage/id_index.c b/src/storage/id_index.c index 7aa70d2cfe..68e217de1c 100644 --- a/src/storage/id_index.c +++ b/src/storage/id_index.c @@ -1,5 +1,5 @@ /** - * @file id_index.c + * @file storage/id_index.c * @brief Index for looking up tables by (component) id. * * An id record stores the administration for an in use (component) id, that is diff --git a/src/storage/id_index.h b/src/storage/id_index.h index 711c0b856b..077c8fd272 100644 --- a/src/storage/id_index.h +++ b/src/storage/id_index.h @@ -1,5 +1,5 @@ /** - * @file id_index.h + * @file storage/id_index.h * @brief Index for looking up tables by (component) id. */ diff --git a/src/storage/table.c b/src/storage/table.c index 0fc33be207..9d37609ad9 100644 --- a/src/storage/table.c +++ b/src/storage/table.c @@ -1,5 +1,5 @@ /** - * @file table.c + * @file storage/table.c * @brief Table storage implementation. * * Tables are the data structure that store the component data. Tables have diff --git a/src/storage/table.h b/src/storage/table.h index 8e0964e42e..8af876fd98 100644 --- a/src/storage/table.h +++ b/src/storage/table.h @@ -1,5 +1,5 @@ /** - * @file table.h + * @file storage/table.h * @brief Table storage implementation. */ diff --git a/src/storage/table_cache.c b/src/storage/table_cache.c index 62c6f5660d..ec4a82cbca 100644 --- a/src/storage/table_cache.c +++ b/src/storage/table_cache.c @@ -1,5 +1,5 @@ /** - * @file table_cache.c + * @file storage/table_cache.c * @brief Data structure for fast table iteration/lookups. * * A table cache is a data structure that provides constant time operations for diff --git a/src/storage/table_cache.h b/src/storage/table_cache.h index 8b8cda525d..1020d8a6be 100644 --- a/src/storage/table_cache.h +++ b/src/storage/table_cache.h @@ -1,5 +1,5 @@ /** - * @file table_cache.h + * @file storage/table_cache.h * @brief Data structure for fast table iteration/lookups. */ diff --git a/src/storage/table_graph.c b/src/storage/table_graph.c index 0d5e24e70c..e87500e113 100644 --- a/src/storage/table_graph.c +++ b/src/storage/table_graph.c @@ -1,5 +1,5 @@ /** - * @file table_graph.c + * @file storage/table_graph.c * @brief Data structure to speed up table transitions. * * The table graph is used to speed up finding tables in add/remove operations. diff --git a/src/storage/table_graph.h b/src/storage/table_graph.h index 18fcf0a344..77bec5666e 100644 --- a/src/storage/table_graph.h +++ b/src/storage/table_graph.h @@ -1,5 +1,5 @@ /** - * @file table_graph.h + * @file storage/table_graph.h * @brief Table graph types and functions. */