aboutsummaryrefslogtreecommitdiff
path: root/include/bh/internal/queue.h
diff options
context:
space:
mode:
authorMikhail Romanko <me@blankhex.com>2024-06-03 22:11:05 +0300
committerMikhail Romanko <me@blankhex.com>2024-06-03 22:11:05 +0300
commit79874622a28c081abe155dc01860ddba746abd3b (patch)
tree9dea56ea33951b7c851b534eb6f9d1ff1e1dcfe8 /include/bh/internal/queue.h
parentfdbabab0e04fac2b5a84ea8e8088cd4767034a45 (diff)
downloadbhlib-old-79874622a28c081abe155dc01860ddba746abd3b.tar.gz
Add documentation, expand error handling, implement file and buffer io
Diffstat (limited to 'include/bh/internal/queue.h')
-rw-r--r--include/bh/internal/queue.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/include/bh/internal/queue.h b/include/bh/internal/queue.h
index 13a6cad..fd3d8e8 100644
--- a/include/bh/internal/queue.h
+++ b/include/bh/internal/queue.h
@@ -1,5 +1,5 @@
-#ifndef BHLIB_INTERNAL_QUEUE_H
-#define BHLIB_INTERNAL_QUEUE_H
+#ifndef BH_INTERNAL_QUEUE_H
+#define BH_INTERNAL_QUEUE_H
#include <bh/queue.h>
@@ -12,24 +12,8 @@ struct bh_queue_s
size_t capacity;
};
-/**
- * @internal
- * @brief Initialize embedded queue object.
- *
- * @param queue Valid pointer to the queue object.
- *
- * @sa bh_queue_destroy
- */
void bh_queue_init(bh_queue_t *queue);
-/**
- * @internal
- * @brief Destroy embedded queue object.
- *
- * @param queue Valid pointer to the queue object.
- *
- * @sa bh_queue_init
- */
void bh_queue_destroy(bh_queue_t *queue);
-#endif /* BHLIB_INTERNAL_QUEUE_H */
+#endif /* BH_INTERNAL_QUEUE_H */