Add sort for global types and procedures

This commit is contained in:
gingerBill
2024-07-08 13:59:25 +01:00
parent 04e0b3e270
commit 0f664893dd
2 changed files with 25 additions and 1 deletions

View File

@@ -519,7 +519,7 @@ gb_internal Entity *scope_insert_no_mutex(Scope *s, Entity *entity) {
}
GB_COMPARE_PROC(entity_variable_pos_cmp) {
gb_internal GB_COMPARE_PROC(entity_variable_pos_cmp) {
Entity *x = *cast(Entity **)a;
Entity *y = *cast(Entity **)b;