Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtDestructo(3) — OSF1 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppSetTypeConverter(1)

XtSetTypeConverter(1)

XtTypeConverter(2)

 

Name

XtDestructor — prototype procedure to destroy cached resource data. 

Synopsis

typedef void (∗XtDestructor) (XtAppContext, XrmValue ∗, XtPointer, XrmValue ∗, Cardinal ∗)

    XtAppContext app;
    XrmValue ∗to;
    XtPointer converter_data;
    XrmValue ∗args;
    Cardinal ∗num_args;

Arguments

appSpecifies an application context in which the resource is being freed. 

toSpecifies a descriptor for the resource produced by the type converter. 

converter_data
Specifies the converter_data returned by the type converter. 

argsSpecifies the additional converter arguments as passed to the type converter when the conversion was performed. 

num_argsSpecifies the number of additional converter arguments. 

Description

The destructor procedure is responsible for freeing the resource specified by the to argument, including any auxiliary storage associated with that resource, but not the memory directly addressed by the size and location in the to argument nor the memory specified by the args. 

See Also

XtAppSetTypeConverter(1), XtSetTypeConverter(1),
XtTypeConverter(2). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026