feat: implement extern libs data writing
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#ifndef INTERNALS_WRITER_H
|
||||
#define INTERNALS_WRITER_H
|
||||
|
||||
#include <common/fzl_extern.h>
|
||||
#include <compiler/utils/fzl_const_pool.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
bool wr_consts(FILE *fd, fzl_const_hash_pool_t *consts);
|
||||
bool wr_extern_libs(FILE *fd, fzl_extern_lib_t *libs, size_t libs_count);
|
||||
bool wr_extern_types(FILE *fd, fzl_extern_type_t *types, size_t types_count);
|
||||
bool wr_extern_fns(FILE *fd, fzl_extern_fn_t *fns, size_t fns_count);
|
||||
bool wr_ops(FILE *fd, size_t *ops, size_t ops_count);
|
||||
|
||||
#endif // INTERNALS_WRITER_H
|
||||
Reference in New Issue
Block a user