ubjsc
0.5
Enterprise-grade C library for manipulating UBJSON
|
Default glue for array - doubly linked list. More...
#include <ubjs_library.h>
Go to the source code of this file.
Functions | |
UBJS_EXPORT ubjs_result | ubjs_glue_array_array_builder_new (ubjs_library *, ubjs_glue_array_builder **) |
Array glue that links to naive double-linked list implementation. More... | |
Default glue for array - doubly linked list.
This has very funny complexities, like O(n) for get/add/delete.
UBJS_EXPORT ubjs_result ubjs_glue_array_array_builder_new | ( | ubjs_library * | , |
ubjs_glue_array_builder ** | |||
) |
Array glue that links to naive double-linked list implementation.
References ubjs_glue_array::add_at_f, ubjs_glue_array::add_first_f, ubjs_glue_array::add_last_f, ubjs_library::alloc_f, ubjs_glue_array_iterator::array, ubjs_glue_array::delete_at_f, ubjs_glue_array::delete_first_f, ubjs_glue_array::delete_last_f, ubjs_glue_array::free_f, ubjs_glue_array_iterator::free_f, ubjs_library::free_f, ubjs_glue_array::get_at_f, ubjs_glue_array_iterator::get_f, ubjs_glue_array::get_first_f, ubjs_glue_array::get_last_f, ubjs_glue_array::get_length_f, ubjs_glue_array::iterate_f, ubjs_glue_array::lib, ubjs_glue_array_iterator::next_f, UFALSE, UR_ERROR, UR_OK, ubjs_glue_array::userdata, ubjs_glue_array_iterator::userdata, and UTRUE.
Referenced by ubjs_library_builder_build(), and ubjs_parser_new().