~pbatch/patchwerk

ref: abf5b62a8d4f1822187e1f79f44331bea5af573c patchwerk/header.w -rw-r--r-- 621 bytes
abf5b62a — paul added verbity node 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@** Header. \mkref{headerfile}
This is the single header file for patchwerk.

@(patchwerk.h@>=
#ifndef PATCHWERK_H
#define PATCHWERK_H
#include <stdio.h>
#include <stdarg.h> /* needed for print functionality */
@<Header@>@/
#endif

@* Type Definitions.
% TODO: consolidate all type declarations into a named section that
% can be appended to
@<Header@>+=
#ifndef PWFLT
#define PWFLT float
#endif

typedef struct pw_node pw_node;
typedef struct pw_pointer pw_pointer;
typedef void (*pw_function)(pw_node *);
typedef void (*pw_nodefun)(pw_node *, void *);
@<Type Declarations@>

@* C structs.
@<Header@>+=
@<Cable Data@>@/