зеркало из https://github.com/Azure/c-pal.git
Add SRW_LOCK_LL_TRY_ACQUIRE_RESULT enum in .c file (#288)
This commit is contained in:
Родитель
153b1f2681
Коммит
876f34700e
|
@ -9,3 +9,5 @@
|
|||
#define srw_lock_ll_acquire_shared real_srw_lock_ll_acquire_shared
|
||||
#define srw_lock_ll_try_acquire_shared real_srw_lock_ll_try_acquire_shared
|
||||
#define srw_lock_ll_release_shared real_srw_lock_ll_release_shared
|
||||
|
||||
#define SRW_LOCK_LL_TRY_ACQUIRE_RESULT real_SRW_LOCK_LL_TRY_ACQUIRE_RESULT
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include "c_pal/srw_lock_ll.h"
|
||||
|
||||
MU_DEFINE_ENUM_STRINGS(SRW_LOCK_LL_TRY_ACQUIRE_RESULT, SRW_LOCK_LL_TRY_ACQUIRE_RESULT_VALUES)
|
||||
|
||||
int srw_lock_ll_init(SRW_LOCK_LL* srw_lock_ll)
|
||||
{
|
||||
int result;
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
#include "c_pal/srw_lock_ll.h"
|
||||
|
||||
MU_DEFINE_ENUM_STRINGS(SRW_LOCK_LL_TRY_ACQUIRE_RESULT, SRW_LOCK_LL_TRY_ACQUIRE_RESULT_VALUES)
|
||||
|
||||
int srw_lock_ll_init(SRW_LOCK_LL* srw_lock_ll)
|
||||
{
|
||||
int result;
|
||||
|
|
Загрузка…
Ссылка в новой задаче