Skip to content

Struct SandwichIOOwned

ClassList > SandwichIOOwned

An IO owned by the Sandwich Library. More...

  • #include <io.h>

Public Attributes

Type Name
SandwichOwnedIOFreeFunctionPtr freeptr
The function used to free the owned IO.
struct SandwichIO * io
The IO which is owned by Sandwich.

Detailed Description

SandwichIOOwned objects own the underlying io->uarg object pointer, and provides a freeptr function that is responsible for destroying that object. SandwichIOOwned must be freed by calling the sandwich_io_owned_free function. This is what is returned from sandwich_io_*_new functions.

Public Attributes Documentation

variable freeptr

SandwichOwnedIOFreeFunctionPtr SandwichIOOwned::freeptr;

variable io

struct SandwichIO* SandwichIOOwned::io;

The documentation for this class was generated from the following file docs/sandwich_c/io.h