Next: , Previous: struct x1f4_datatype_type, Up: Application Interface Types


3.3.2.2 struct x1f4_linetext_type

typedef struct x1f4_linetext_type {
    struct x1f4_function_type function;
    const void *context;
} x1f4_linetext_type;

The x1f4_linetext_type record conveniently pairs a function definition with some pointer and it is used by some of the libx1f4i0 interfaces to describe context associated functions (i.e. function requiring an execution context and the required context).

See Per Function Execution Contexts.

function
The function field is the function definition, one requiring some execution context (the very context field of this very record).
context
The context field is the execution context of the function described by the function field of this very record.