Fixes for enums in TactilityC (#404)

This commit is contained in:
Ken Van Hoeylandt
2025-11-01 09:38:32 +01:00
committed by GitHub
parent 569cce38fa
commit e2ec39304c
8 changed files with 18 additions and 20 deletions
+3 -3
View File
@@ -10,17 +10,17 @@ extern "C" {
/** A handle that represents a lock instance. A lock could be a Mutex or similar construct */
typedef void* LockHandle;
enum TtMutexType {
typedef enum {
MutexTypeNormal,
MutexTypeRecursive
};
} TtMutexType;
/**
* Allocate a new mutex instance
* @param[in] type specify if the mutex is either a normal one, or whether it can recursively (re)lock
* @return the allocated lock handle
*/
LockHandle tt_lock_alloc_mutex(enum TtMutexType type);
LockHandle tt_lock_alloc_mutex(TtMutexType type);
/**
* Allocate a lock for a file or folder.