File: puzzle.c

package info (click to toggle)
libpuzzle 0.11-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,092 kB
  • sloc: sh: 9,723; ansic: 1,811; makefile: 977; php: 269; sql: 148
file content (22 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (7)
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();
}