aboutsummaryrefslogtreecommitdiff
path: root/src/effect.c
blob: e2fab9878c01f694d618cad84dfab89eeaeadbbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <math.h>

#include "layout.h"
#include "effect.h"
#include "any_log.h"

void effect_copy(effect_t *copy, const effect_t *effect)
{
    memcpy(copy, effect, sizeof(effect_t));
    copy->label = strcopy(effect->label);
}

void effect_free(effect_t *effect)
{
    free(effect);
}