mirror of https://github.com/tailix/libkernaux.git
Rename func
This commit is contained in:
parent
7d07f38840
commit
f5571c012b
|
@ -4,7 +4,8 @@
|
|||
changed.
|
||||
* include/kernaux/multiboot2.h: The function
|
||||
"KernAux_Multiboot2_Info_to_memmap_builder" has been renamed to
|
||||
"KernAux_Multiboot2_Info_to_memmap", it's signature has been changed.
|
||||
"KernAux_Multiboot2_Info_build_memmap_from_memmap", it's signature has been
|
||||
changed.
|
||||
|
||||
2022-12-27 Alex Kotov <kotovalexarian@gmail.com>
|
||||
|
||||
|
|
|
@ -565,7 +565,7 @@ KERNAUX_STATIC_TEST_STRUCT_SIZE(
|
|||
* Other functions *
|
||||
*******************/
|
||||
|
||||
bool KernAux_Multiboot2_Info_to_memmap(
|
||||
bool KernAux_Multiboot2_Info_build_memmap_from_memmap(
|
||||
const struct KernAux_Multiboot2_Info *multiboot2_info,
|
||||
KernAux_Memmap_Builder builder
|
||||
);
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <stddef.h>
|
||||
|
||||
#ifdef WITH_MEMMAP
|
||||
bool KernAux_Multiboot2_Info_to_memmap(
|
||||
bool KernAux_Multiboot2_Info_build_memmap_from_memmap(
|
||||
const struct KernAux_Multiboot2_Info *const multiboot2_info,
|
||||
const KernAux_Memmap_Builder builder
|
||||
) {
|
||||
|
|
|
@ -29,7 +29,7 @@ void test_main()
|
|||
KernAux_Memmap_Builder_new(&malloc.malloc);
|
||||
assert(builder != NULL);
|
||||
|
||||
const bool result = KernAux_Multiboot2_Info_to_memmap(
|
||||
const bool result = KernAux_Multiboot2_Info_build_memmap_from_memmap(
|
||||
&multiboot2_info_example0.multiboot2_info,
|
||||
builder
|
||||
);
|
||||
|
@ -41,7 +41,7 @@ void test_main()
|
|||
KernAux_Memmap_Builder_new(&malloc.malloc);
|
||||
assert(builder != NULL);
|
||||
|
||||
const bool result = KernAux_Multiboot2_Info_to_memmap(
|
||||
const bool result = KernAux_Multiboot2_Info_build_memmap_from_memmap(
|
||||
(const struct KernAux_Multiboot2_Info*)
|
||||
&multiboot2_info_example1,
|
||||
builder
|
||||
|
@ -62,7 +62,7 @@ void test_main()
|
|||
KernAux_Memmap_Builder_new(&malloc.malloc);
|
||||
assert(builder != NULL);
|
||||
|
||||
const bool result = KernAux_Multiboot2_Info_to_memmap(
|
||||
const bool result = KernAux_Multiboot2_Info_build_memmap_from_memmap(
|
||||
&multiboot2_info_example2.multiboot2_info,
|
||||
builder
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue