view accumulator.h @ 647:7e7ba87b5466

Fix stack-zeroing bug in sb-alien query bindings When doing a key query, we have to be absolutely sure that the datum.data slot is NULL, otherwise Bad Things will happen. Fixes audioDB Trac ticket #35
author mas01cr
date Tue, 13 Oct 2009 14:26:30 +0000
parents 342822c2d49a
children
line wrap: on
line source
#ifndef ACCUMULATOR_H
#define ACCUMULATOR_H

class Accumulator {
public:
  virtual ~Accumulator() {};
  virtual void add_point(adb_result_t *r) = 0;
  virtual adb_query_results_t *get_points() = 0;
};

#endif