Use *_set_update where possible

This commit is contained in:
gingerBill
2022-12-20 14:19:55 +00:00
parent 134c7db4d2
commit 8fc9566a83
6 changed files with 30 additions and 37 deletions

View File

@@ -812,7 +812,7 @@ gb_internal void init_type_mutex(void) {
mutex_init(&g_type_mutex);
}
gb_internal bool type_ptr_set_exists(PtrSet<Type *> *s, Type *t) {
gb_internal bool type_ptr_set_update(PtrSet<Type *> *s, Type *t) {
if (ptr_set_exists(s, t)) {
return true;
}