aboutsummaryrefslogblamecommitdiffstats
path: root/libglitter_free_render_context.c
blob: 05f27ebe3b8d2bdbf09d9444058be8de6dac46ff (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"
#ifndef TEST


void
libglitter_free_render_context(LIBGLITTER_RENDER_CONTEXT *this)
{
	if (this) {
		free(this->cellweights_double);
		free(this->cellweights_float);
		free(this);
	}
}


#else


int
main(void)
{
	libglitter_free_render_context(NULL);
	return 0;
}


#endif