blob: 970986590534d6627a5faac59cebf5e4c473fc99 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* See LICENSE file for copyright and license details. */
#include "common.h"
/**
* Release all resources held by a partition state
*
* @param this The partition state
*/
void
libgamma_partition_destroy(libgamma_partition_state_t *restrict this)
{
switch (this->site->method) {
#define X(CONST, CNAME, DEPTH, RAMPS)\
case CONST:\
libgamma_##CNAME##_partition_destroy(this);\
break;
LIST_AVAILABLE_METHODS(X)
#undef X
default:
break;
}
}
|