2023-03-05 21:55:20 +00:00
|
|
|
#ifndef APFL_MODULES_H
|
|
|
|
|
#define APFL_MODULES_H
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "apfl.h"
|
|
|
|
|
|
2023-07-03 21:39:29 +00:00
|
|
|
void
|
|
|
|
|
apfl_build_native_and_bytecode_combined_module(
|
|
|
|
|
apfl_ctx ctx,
|
|
|
|
|
apfl_stackidx native,
|
|
|
|
|
struct apfl_string_view bytecode
|
|
|
|
|
);
|
|
|
|
|
|
2023-11-23 19:29:38 +00:00
|
|
|
bool apfl_modules_query(apfl_ctx, apfl_stackidx modname);
|
|
|
|
|
|
2023-03-05 21:55:20 +00:00
|
|
|
struct apfl_string_view apfl_mod_globals(void);
|
2023-07-03 21:39:29 +00:00
|
|
|
struct apfl_string_view apfl_mod_re(void);
|
|
|
|
|
|
|
|
|
|
void apfl_module_re(apfl_ctx);
|
2023-03-05 21:55:20 +00:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|