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.
16 lines
341 B
C
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)
|