blob: 05f27ebe3b8d2bdbf09d9444058be8de6dac46ff (
plain) (
tree)
|
|
/* 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
|