From 9549a7b61a8ed989cb71736a5d8ef99d26246848 Mon Sep 17 00:00:00 2001 From: CHatingPython Date: Sun, 21 Jun 2026 20:40:31 +0200 Subject: [PATCH] docs(furvm): document the thing Refs: #12 --- furvm/include/furvm/thing.hpp | 150 +++++++++++++++++++++++++++++----- 1 file changed, 130 insertions(+), 20 deletions(-) diff --git a/furvm/include/furvm/thing.hpp b/furvm/include/furvm/thing.hpp index 9a2c1d9..16dfb98 100644 --- a/furvm/include/furvm/thing.hpp +++ b/furvm/include/furvm/thing.hpp @@ -19,10 +19,10 @@ enum class thing_t : std::uint8_t { }; /** - * @brief Returns data size of a thing. + * @brief Returns how many bytes a thing would take up. * * @param type Type of the thing. - * @return The data size of the thing. + * @return The byte count. */ static inline std::size_t thing_type_size(thing_t type) { switch (type) { @@ -35,13 +35,22 @@ template