|
Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
|
#include <namespaces.h>
Data Fields | |
| char * | path |
| Path on disk this buffer is associated with. | |
| uint8_t * | bytes |
| Byte storage. | |
| size_t | len |
| size_t | cap |
Definition at line 27 of file namespaces.h.
| uint8_t* srn_namespace_src_buffer_t::bytes |
| size_t srn_namespace_src_buffer_t::cap |
Definition at line 41 of file namespaces.h.
| size_t srn_namespace_src_buffer_t::len |
Definition at line 40 of file namespaces.h.
| char* srn_namespace_src_buffer_t::path |
Path on disk this buffer is associated with.
When not null, srn_src_reload re-reads from here. A null value means the buffer has no associated file, for example a fresh REPL session that has not loaded one. A buffer can acquire a path later by being assigned one, or lose its connection by being passed to a future detach helper. Owned by the buffer and freed on shutdown.
Definition at line 34 of file namespaces.h.