summaryrefslogtreecommitdiff
path: root/src/platform/platform.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-05 12:48:05 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-05 12:48:05 +1000
commitdfb6adbcbcc7d50b770b6d5ea82efdd8f8c32e25 (patch)
treea470b91a90716d7ea46fde53ed395449c24583a2 /src/platform/platform.h
parent54354e32c6498cc7f8839ab4deb1208d37216cc5 (diff)
delete documentation workflow
Diffstat (limited to 'src/platform/platform.h')
-rw-r--r--src/platform/platform.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/platform/platform.h b/src/platform/platform.h
deleted file mode 100644
index c2be630..0000000
--- a/src/platform/platform.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#pragma once
-
-#include "defines.h"
-#include "str.h"
-
-// -- Paths
-typedef struct path_opt {
- Str8 path;
- bool has_value;
-} path_opt;
-
-// TODO: convert to using str8
-// TODO: use uppercase code style
-path_opt path_parent(arena* a, const char* path);
-
-// --- Threads
-typedef struct CelThread CelThread;
-
-CelThread Thread_Create();
-void Thread_Destroy(CelThread* thread);
-
-// --- Mutexes
-typedef struct CelMutex CelMutex;
-
-CelMutex Mutex_Create();
-void Mutex_Destroy(CelMutex* mutex);
-
-/** @brief Blocks until the mutex can be acquired. if returns false then an error occurred and can
- * be checked (TODO) */
-bool Mutex_Lock(CelMutex* mutex);
-
-/** @brief Tries to acquire the mutex like `mutex_lock` but returns immediately if the mutex has
- * already been locked */
-bool Mutex_TryLock(CelMutex* mutex);
-
-/** @brief Releases a mutex. If it is already unlocked then does nothing */
-void Mutex_Unlock(CelMutex* mutex);