aboutsummaryrefslogtreecommitdiff
path: root/include/better_string.h
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-10 16:36:53 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-10 16:36:53 -0800
commit4ada155b930cb5fb96493dff3a5af8809da3b214 (patch)
treedb723cecb55c51e08b4ae6f865046d892d720304 /include/better_string.h
parentf4252fb4c1b12e4318f98e4a1936842e8b691ce0 (diff)
add comments in both stem and also in my c code
Diffstat (limited to 'include/better_string.h')
-rw-r--r--include/better_string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/better_string.h b/include/better_string.h
index a30b7e2..6726b4d 100644
--- a/include/better_string.h
+++ b/include/better_string.h
@@ -6,11 +6,11 @@
/*! @brief An array implementation of the string data structure */
typedef struct STRING_STRUCT {
- /*! length of string */
+ /*! @brief length of string */
size_t length;
- /*! Size of current value buffer */
+ /*! @brief Size of current value buffer */
size_t bufsize;
- /*! String used for the */
+ /*! @brief String value of struct */
char *value;
} string_t;