mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-21 05:12:22 -08:00
moved unsigned range list to base math
This commit is contained in:
1 parent
d73e53a5b5
commit
29de0c5a9e
9 files changed
+60
-55
No files matched your search
@@ -4,7 +4,6 @@
|
||||
#include "base_core.c"
|
||||
#include "base_strings.c"
|
||||
#include "base_arena.c"
|
||||
#include "base_math.c"
|
||||
#include "base_arrays.c"
|
||||
#include "base_bit_array.c"
|
||||
#include "base_crc32.c"
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#include "base_core.h"
|
||||
#include "base_strings.h"
|
||||
#include "base_arena.h"
|
||||
#include "base_math.h"
|
||||
#include "base_arrays.h"
|
||||
#include "base_blake3.h"
|
||||
#include "base_bit_array.h"
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
// Copyright (c) 2024 Epic Games Tools
|
||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||
|
||||
internal void
|
||||
rng_1u64_list_push_node(Rng1U64List *list, Rng1U64Node *node)
|
||||
{
|
||||
SLLQueuePush(list->first, list->last, node);
|
||||
++list->count;
|
||||
}
|
||||
|
||||
internal Rng1U64Node *
|
||||
rng_1u64_list_push(Arena *arena, Rng1U64List *list, Rng1U64 range)
|
||||
{
|
||||
Rng1U64Node *node = push_array(arena, Rng1U64Node, 1);
|
||||
node->v = range;
|
||||
rng_1u64_list_push_node(list, node);
|
||||
return node;
|
||||
}
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
// Copyright (c) 2024 Epic Games Tools
|
||||
// Licensed under the MIT license (https://opensource.org/license/mit/)
|
||||
|
||||
#pragma once
|
||||
|
||||
typedef struct Rng1U64Node
|
||||
{
|
||||
struct Rng1U64Node *next;
|
||||
Rng1U64 v;
|
||||
} Rng1U64Node;
|
||||
|
||||
typedef struct Rng1U64List
|
||||
{
|
||||
U64 count;
|
||||
Rng1U64Node *first;
|
||||
Rng1U64Node *last;
|
||||
} Rng1U64List;
|
||||
|
||||
////////////////////////////////
|
||||
|
||||
internal void rng_1u64_list_push_node(Rng1U64List *list, Rng1U64Node *node);
|
||||
internal Rng1U64Node * rng_1u64_list_push(Arena *arena, Rng1U64List *list, Rng1U64 range);
|
||||
|
||||
Reference in new issue
Block a user