Code

timeseries: Added sdb_timeseries_create().
authorSebastian Harl <sh@tokkee.org>
Thu, 21 Aug 2014 03:17:05 +0000 (20:17 -0700)
committerSebastian Harl <sh@tokkee.org>
Thu, 21 Aug 2014 03:17:05 +0000 (20:17 -0700)
commitd9b993fd5dc195e819a142b039d25d768d5c711c
tree219f404cf0cc49ad456b96d6111d05dfe03c54d3
parent325795abc4d6530149b5538d3d1136eed3195d16
timeseries: Added sdb_timeseries_create().

This function allocates a time-series object and pre-allocates the data array
based on size information passed to the function. All memory is initialized to
zero (except for the length information) such that the object contains valid
(but mostly useless) information.
src/core/timeseries.c
src/include/core/timeseries.h