aboutsummaryrefslogblamecommitdiffstats
path: root/libcoopgamma_queried_filter_initialise.c
blob: 6130fcd042ebb05385258d95791d8ec8d54e05bb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                    



                                    

                 
/* See LICENSE file for copyright and license details. */
#include "common.h"


/**
 * Initialise a `libcoopgamma_queried_filter_t`
 * 
 * @param   this  The record to initialise
 * @return        Zero on success, -1 on error
 */
int
libcoopgamma_queried_filter_initialise(libcoopgamma_queried_filter_t *restrict this)
{
	memset(this, 0, sizeof(*this));
	this->class = NULL;
	this->ramps.u8.red = NULL;
	this->ramps.u8.green = NULL;
	this->ramps.u8.blue = NULL;
	return 0;
}