~ft/c9

5d45df11f046837602bebbdc22ebe74c031a8116 — Sigrid Solveig Haflínudóttir 4 years ago ccbf4c3
make aux pointer has its own user-defined type
1 files changed, 3 insertions(+), 1 deletions(-)

M c9.h
M c9.h => c9.h +3 -1
@@ 1,3 1,5 @@
struct C9aux;

typedef struct C9r C9r;
typedef struct C9t C9t;
typedef struct C9stat C9stat;


@@ 291,7 293,7 @@ struct C9ctx
	void (*error)(const char *fmt, ...) __attribute__((nonnull(1)));

	/* Auxiliary data, can be used by any of above callbacks. */
	void *aux;
	struct C9aux *aux;

	/* private stuff */
	uint32_t msize;