summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-08 07:40:29 +0100
committerskal <pascal.massimino@gmail.com>2026-02-08 07:40:29 +0100
commitc9195f997f3e797f03ab90464e4158717198a167 (patch)
tree331304f42870246efdc64cc97ad42de59444ef3a /src/util
parentb8e6929cafa41681f0b27ac104c9cf1d4e510837 (diff)
style: Apply clang-format to all source files
Diffstat (limited to 'src/util')
-rw-r--r--src/util/asset_manager.h3
-rw-r--r--src/util/fatal_error.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/util/asset_manager.h b/src/util/asset_manager.h
index 59bf7a0..1e0638c 100644
--- a/src/util/asset_manager.h
+++ b/src/util/asset_manager.h
@@ -25,5 +25,6 @@ struct AssetRecord {
const uint8_t* GetAsset(AssetId asset_id, size_t* out_size = nullptr);
void DropAsset(AssetId asset_id, const uint8_t* asset);
-// Returns the AssetId for a given asset name, or AssetId::ASSET_LAST_ID if not found.
+// Returns the AssetId for a given asset name, or AssetId::ASSET_LAST_ID if not
+// found.
AssetId GetAssetIdByName(const char* name);
diff --git a/src/util/fatal_error.h b/src/util/fatal_error.h
index ea4d168..aaeba26 100644
--- a/src/util/fatal_error.h
+++ b/src/util/fatal_error.h
@@ -50,7 +50,8 @@
// - Calls abort()
//
// Example output:
-// FATAL: write_pos out of bounds: write=100 >= capacity=50 [ring_buffer.cc:57]
+// FATAL: write_pos out of bounds: write=100 >= capacity=50
+// [ring_buffer.cc:57]
#define FATAL_CHECK(cond, ...) \
do { \
if (cond) { \