libsnobol4 1.0.2
High-performance SNOBOL4-style pattern matching library
Loading...
Searching...
No Matches
snobol_buf Struct Reference

Generic growable byte buffer used for VM output accumulation. More...

#include <vm.h>

Public Attributes

char * data
size_t len
size_t cap

Detailed Description

Generic growable byte buffer used for VM output accumulation.

Definition at line 319 of file vm.h.

Member Data Documentation

◆ cap

size_t snobol_buf::cap

Allocated capacity in bytes.

Definition at line 322 of file vm.h.

◆ data

char* snobol_buf::data

Buffer data pointer (heap-allocated, may be NULL).

Definition at line 320 of file vm.h.

◆ len

size_t snobol_buf::len

Current used byte count.

Definition at line 321 of file vm.h.


The documentation for this struct was generated from the following file:
  • core/include/snobol/vm.h