No Matches
Data Fields
as_stream_hooks Struct Reference

Detailed Description

Stream Hooks

An implementation of as_rec should provide implementations for each of the hooks.

Definition at line 82 of file as_stream.h.

#include "as_stream.h"

+ Collaboration diagram for as_stream_hooks:

Data Fields

int(* destroy )(as_stream *stream)
as_val *(* read )(const as_stream *stream)
as_stream_status(* write )(const as_stream *stream, as_val *value)

Field Documentation

◆ destroy

int(* as_stream_hooks::destroy) (as_stream *stream)

Destroy the stream.

Definition at line 87 of file as_stream.h.

◆ read

as_val *(* as_stream_hooks::read) (const as_stream *stream)

Read the next value from the stream.

Definition at line 92 of file as_stream.h.

◆ write

as_stream_status(* as_stream_hooks::write) (const as_stream *stream, as_val *value)

Write a value to the stream.

Definition at line 97 of file as_stream.h.

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