blob: 389a146b3fd34d94712f51dafba16dbace21b1ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef SAND_CONFIG_H
#define SAND_CONFIG_H
// This module defines the configuration type. This is a fully transparent (i.e.
// not opaque) type which the consumer of the core library is supposed to
// assemble themselves. It contains hooks which the State will use for all effects.
// This handler is used for output from the user-supplied actual program.
typedef void (* SandPrintHandler)(const char *message, size_t length);
typedef struct {
SandPrintHandler print_handler;
} SandConfig;
#endif
|