non-macro array, use _locate in _insert

This commit is contained in:
Gregory Burd 2024-03-20 12:18:46 -04:00
parent 66b2dda55c
commit 448aa42e6c
3 changed files with 529 additions and 484 deletions

View file

@ -99,10 +99,10 @@ IndentPPDirectives: None
Language: Cpp
NamespaceIndentation: None
PointerAlignment: Right
ContinuationIndentWidth: 2
IndentWidth: 2
TabWidth: 2
ColumnLimit: 80
ContinuationIndentWidth: 4
IndentWidth: 4
TabWidth: 4
ColumnLimit: 160
UseTab: Never
SpaceAfterCStyleCast: false
IncludeBlocks: Regroup

View file

@ -4,7 +4,10 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#define SKIPLIST_MAX_HEIGHT 12
#include "../include/sl.h"
/*
@ -99,7 +102,7 @@ main()
rc = ENOMEM;
goto fail;
}
rc = api_skip_init_slex(list, 12, 4, __slm_key_compare);
rc = api_skip_init_slex(list, 12, __slm_key_compare);
if (rc)
return rc;

File diff suppressed because it is too large Load diff