Reduct  v4.1.3-1-gd06c383
A functional and immutable language.
Loading...
Searching...
No Matches
reduct_module_t Struct Reference

Module structure. More...

#include <module.h>

Collaboration diagram for reduct_module_t:

Data Fields

struct reduct_module * prev
 
const char * buffer
 
const char * end
 
reduct_module_id_t id
 
reduct_module_flags_t flags
 
char * path
 
reduct_lib_t lib
 Loaded shared library handle, must have REDUCT_MODULE_FLAG_IS_LIBRARY set.
 

Detailed Description

Module structure.

Represents either a source module or a loaded shared library. Source modules have a buffer and optional AST, while library modules hold a reference to the loaded shared library handle.

Definition at line 62 of file module.h.

Field Documentation

◆ prev

struct reduct_module* reduct_module_t::prev

Definition at line 64 of file module.h.

◆ buffer

const char* reduct_module_t::buffer

Definition at line 65 of file module.h.

◆ end

const char* reduct_module_t::end

Definition at line 66 of file module.h.

◆ id

reduct_module_id_t reduct_module_t::id

Definition at line 67 of file module.h.

◆ flags

reduct_module_flags_t reduct_module_t::flags

Definition at line 68 of file module.h.

◆ path

char* reduct_module_t::path

Definition at line 69 of file module.h.

◆ lib

reduct_lib_t reduct_module_t::lib

Loaded shared library handle, must have REDUCT_MODULE_FLAG_IS_LIBRARY set.

Definition at line 70 of file module.h.


The documentation for this struct was generated from the following file: