io_wrapper_set_context

March 26, 2020

Name

io_wrapper_set_context — Sets the context for an io object

Synopsis

#include "io_wrapper.h"

| void **io_wrapper_set_context** ( | io, |   |
|   | ctx); |   |

io_object * <var class="pdparam">io</var>;
ECDict <var class="pdparam">ctx</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Sets the context for an io object.

Parameters

io

the io object

ctx

the dictionary to use for the context

The io_object takes a reference on the dictionary.

Note that this has nothing to do with io_wrapper_set_context_and_dtor(), which is for application level magic.