ds: update references to fx_btree

This commit is contained in:
2026-03-16 15:11:29 +00:00
parent 9c34aa7996
commit e4bacb7360
5 changed files with 22 additions and 22 deletions

View File

@@ -38,9 +38,9 @@ struct fx_dict_iterator_p {
/*** MISC FUNCTIONS ***********************************************************/
static FX_BTREE_DEFINE_SIMPLE_GET(
static FX_BST_DEFINE_SIMPLE_GET(
struct fx_dict_bucket, uint64_t, bk_node, bk_hash, get_bucket);
static FX_BTREE_DEFINE_SIMPLE_INSERT(
static FX_BST_DEFINE_SIMPLE_INSERT(
struct fx_dict_bucket, bk_node, bk_hash, put_bucket);
uint64_t fx_cstr_hash(const char *s)

View File

@@ -41,9 +41,9 @@ struct fx_hashmap_iterator_p {
/*** PRIVATE FUNCTIONS ********************************************************/
static FX_BTREE_DEFINE_SIMPLE_GET(
static FX_BST_DEFINE_SIMPLE_GET(
struct fx_hashmap_bucket, uint64_t, bk_node, bk_hash, get_bucket);
static FX_BTREE_DEFINE_SIMPLE_INSERT(
static FX_BST_DEFINE_SIMPLE_INSERT(
struct fx_hashmap_bucket, bk_node, bk_hash, put_bucket);
static uint64_t hash_data(const void *p, size_t size)

View File

@@ -1,7 +1,7 @@
#ifndef FX_DS_DICT_H_
#define FX_DS_DICT_H_
#include <fx/core/btree.h>
#include <fx/core/bst.h>
#include <fx/core/macros.h>
#include <fx/core/misc.h>
#include <fx/core/queue.h>

View File

@@ -1,7 +1,7 @@
#ifndef FX_DS_HASHMAP_H_
#define FX_DS_HASHMAP_H_
#include <fx/core/btree.h>
#include <fx/core/bst.h>
#include <fx/core/macros.h>
#include <fx/core/misc.h>
#include <fx/core/queue.h>