aboutsummaryrefslogblamecommitdiffstats
path: root/libcoopgamma_error_initialise.c
blob: 5aa40859be1ce69d20bb88a695e072ce0cbadba9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















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


/**
 * Initialise a `libcoopgamma_error_t`
 * 
 * @param   this  The record to initialise
 * @return        Zero on success, -1 on error
 */
int
libcoopgamma_error_initialise(libcoopgamma_error_t *restrict this)
{
	this->number = 0;
	this->custom = 0;
	this->description = NULL;
	return 0;
}