Fixes for enums in TactilityC (#404)
This commit is contained in:
committed by
GitHub
parent
569cce38fa
commit
e2ec39304c
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user