[WIP] Add descriptors and pipeline builder

This commit is contained in:
Piotr Krygier committed 2025-06-20 13:44:33 +02:00
1 parent 173a82b9d1
commit f8eb98ddf4
36 files changed
+613 -458

No files matched your search

+1
View File
@@ -23,6 +23,7 @@
enum common_error_t
{
RSE_ERROR_NO_ERROR = RSE_COMMON_MODULE_ID,
RSE_ERROR_NULL_POINTER,
RSE_ERROR_ALREADY_INITIALIZED,
RSE_COMMON_ERROR_MALLLOC_FAILED,
};
+1 -1
View File
@@ -86,7 +86,7 @@
}
#define RSE_LINKED_LIST_IS_EMPTY(list) \
list == NULL
(list == NULL)
#define RSE_LINKED_LIST_SIZE(list) \
({ \
+1 -1
View File
@@ -1,4 +1,4 @@
#include "file_utils.h"
#include "utilities/file_utils.h"
#include <stdio.h>
#include <stdlib.h>
+1 -1
View File
@@ -1,4 +1,4 @@
#include "logger.h"
#include "utilities/logger.h"
#include "stdarg.h"
const char* log_levels[] = {
+1 -1
View File
@@ -1,4 +1,4 @@
#include "task.h"
#include "utilities/task.h"
uint8_t create_task(thread_t* thread_id, thread_worker_t callback, void* args)
{
+5 -5
View File
@@ -28,18 +28,18 @@
stack.data[stack.top]
#define RSE_STACK_IS_EMPTY(stack) \
stack.top == -1
(stack.top == -1)
#define RSE_STACK_IS_FULL(stack, size) \
stack.top == size - 1
(stack.top == size - 1)
#define RSE_STACK_INIT(stack) \
stack.top = -1
(stack.top = -1)
#define RSE_STACK_SIZE(stack) \
stack.top + 1
(stack.top + 1)
#define RSE_STACK_CLEAR(stack) \
stack.top = -1
(stack.top = -1)
#endif // STACK_H