Skip to content

Commit

Permalink
Mark sum_value in roaring_statistics_t as deprecated (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Emann authored Jun 27, 2024
1 parent 2460988 commit 5da0593
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion amalgamation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ DEMOCPP="amalgamation_demo.cpp"
#
ALL_PUBLIC_H="
$SCRIPTPATH/include/roaring/roaring_version.h
$SCRIPTPATH/include/roaring/roaring_types.h
$SCRIPTPATH/include/roaring/portability.h
$SCRIPTPATH/include/roaring/roaring_types.h
$SCRIPTPATH/include/roaring/bitset/bitset.h
$SCRIPTPATH/include/roaring/roaring.h
$SCRIPTPATH/include/roaring/memory.h
Expand Down
4 changes: 4 additions & 0 deletions include/roaring/roaring_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#include <stdbool.h>
#include <stdint.h>

#include <roaring/portability.h>

#ifdef __cplusplus
extern "C" {
namespace roaring {
Expand Down Expand Up @@ -89,6 +91,8 @@ typedef struct roaring_statistics_s {
max_value; /* the maximal value, undefined if cardinality is zero */
uint32_t
min_value; /* the minimal value, undefined if cardinality is zero */

CROARING_DEPRECATED
uint64_t sum_value; /* deprecated always zero */

uint64_t cardinality; /* total number of values stored in the bitmap */
Expand Down

0 comments on commit 5da0593

Please sign in to comment.