1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-05 08:16:16 +00:00

SRWLock is the size of a void pointer.

This commit is contained in:
Calvin Rose 2022-06-17 17:49:02 -05:00
parent eed678a14b
commit 1d905bf07f

View File

@ -92,7 +92,7 @@ size_t janet_os_mutex_size(void) {
}
size_t janet_os_rwlock_size(void) {
return sizeof(SRWLock);
return sizeof(void *);
}
static int32_t janet_incref(JanetAbstractHead *ab) {