moved documentation from mutex.c to .h
This commit is contained in:
parent
7f1987666f
commit
1d8bc98429
2 changed files with 11 additions and 10 deletions
|
|
@ -31,11 +31,6 @@ LUMIERA_ERROR_DEFINE (MUTEX_UNLOCK, "Mutex unlocking failed");
|
|||
LUMIERA_ERROR_DEFINE (MUTEX_DESTROY, "Mutex destroy failed");
|
||||
|
||||
|
||||
/**
|
||||
* Initialize a mutex variable
|
||||
* @param self is a pointer to the mutex to be initialized
|
||||
* @return self as given
|
||||
*/
|
||||
LumieraMutex
|
||||
lumiera_mutex_init (LumieraMutex self)
|
||||
{
|
||||
|
|
@ -46,11 +41,7 @@ lumiera_mutex_init (LumieraMutex self)
|
|||
return self;
|
||||
}
|
||||
|
||||
/**
|
||||
* Destroy a mutex variable
|
||||
* @param self is a pointer to the mutex to be destroyed
|
||||
* @return self as given
|
||||
*/
|
||||
|
||||
LumieraMutex
|
||||
lumiera_mutex_destroy (LumieraMutex self)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -51,10 +51,20 @@ typedef struct lumiera_mutex_struct lumiera_mutex;
|
|||
typedef lumiera_mutex* LumieraMutex;
|
||||
|
||||
|
||||
/**
|
||||
* Initialize a mutex variable
|
||||
* @param self is a pointer to the mutex to be initialized
|
||||
* @return self as given
|
||||
*/
|
||||
LumieraMutex
|
||||
lumiera_mutex_init (LumieraMutex self);
|
||||
|
||||
|
||||
/**
|
||||
* Destroy a mutex variable
|
||||
* @param self is a pointer to the mutex to be destroyed
|
||||
* @return self as given
|
||||
*/
|
||||
LumieraMutex
|
||||
lumiera_mutex_destroy (LumieraMutex self);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue