Skip to content

Commit

Permalink
Mark sum_value in roaring_statistics_t as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Emann committed Jun 26, 2024
1 parent 2460988 commit 54e1163
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/roaring/roaring_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include <stdbool.h>
#include <stdint.h>
#include <roaring/portability.h>

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -89,6 +90,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 54e1163

Please sign in to comment.