aboutsummaryrefslogtreecommitdiff
path: root/deduper/libpuzzle/src/puzzle.c
blob: e21c25279556797f86e100ba683b7a9287677671 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#define DEFINE_GLOBALS 1
#include "puzzle_common.h"
#include "puzzle_p.h"
#include "puzzle.h"
#include "globals.h"

void puzzle_init_context(PuzzleContext * const context)
{
    *context = puzzle_global_context;
}

void puzzle_free_context(PuzzleContext * const context)
{
    (void) context;
}

void puzzle_err_bug(const char * const file, const int line)
{
    fprintf(stderr, "*BUG* File: [%s] Line: [%d]\n", file, line);
    abort();
}