gri6507 6e82afde79 Another attempt to refactor the bacapp_print_value function into a print() and
an extract() function. The original implementation used calloc() inside the
extract() routine which forced all clients, including embedded builds, to have a
heap. This was very heavy handed. The new solution is must more flexible. 
* If the client want to use the print() functionality, they will have to support
  calloc and string safe variable argument length function similar to snprintf.
  This seems reasonable because if you can print, then you can typically support
  these complex capabilities. 
* For clients that don't want to print, but still want to parse the bacpp value
  into a string, they can use the new extract() method, which only requires
  supports for snprintf. This would require a compile time definition of
  BACAPP_SNPRINTF_ENABLED.
* For clients which don't want the overhead of these heavy handed methods, it is
  possible to set compile time flags to not inherit either the print() or the
  extract() functions.
2011-12-12 16:22:04 +00:00
2004-08-25 13:10:05 +00:00
S
Description
No description provided
37 MiB
Languages
C 94.8%
CMake 2.5%
Makefile 1.3%
Python 0.5%
Perl 0.2%
Other 0.5%