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
1 changed files with 1 additions and 1 deletions

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) {