apfl/src/stubs_for_apflc.c
Laria Carolin Chabowski 0361000e7c apflc: Use an apfl_ctx for compilation
We'll soon need the full apfl_ctx, where we previously only needed the
gc. apflc was the only place manually constructing a struct gc without
an apfl_ctx, so lets change that.
2023-11-23 21:03:40 +01:00

16 lines
341 B
C

#include <assert.h>
#include <stdbool.h>
#include "apfl.h"
#include "globals.h"
#define MODULE_STUB(name) \
void \
name(apfl_ctx ctx) \
{ \
(void)ctx; \
apfl_dict_create(ctx); \
}
MODULE_STUB(apfl_globals)
MODULE_STUB(apfl_module_re)