Skip to content

UJOTYP-46: add binary variant type to serialization

Stefan Schalk requested to merge sts/ujotypes-c:UJOTYP-46 into master
  • add code for writing/reading binary data to/from UJO container
  • change buffer parameter type from "ujotUInt8*" to "ujotByte*"
  • adjust indent of some comment blocks
  • add test helper functions to set/get binary data into/from a list
  • add test helper functions to set/get an ujotUInt64 into/from a map with binary data as key
  • add test helper function to compare two binary data buffers
  • extend the test structure using binary data in a list and as a key in a map
  • move test structure functions into separate source files
  • use test helper function "ujot_decref_and_null" in "common_list_tools.c" and "common_map_tools.c"
  • change "inline" to "__inline" to support older compilers (i.e. VC2010)
  • add structure generator/verifier
  • use new generator for the test structure
  • move function "ujot_add_variant_to_parent" from "ujotypes.c" to "ujotypes_reader_stack.c"
  • add test helper macro for checking against NULL pointers
  • change "CMakeLists.txt" to have test structure helper functions just in tests that use them
  • remove modules "common_list_tools" and "common_map_tools", they aren't used any more
Edited by Stefan Schalk

Merge request reports