Previous: , Up: Proxy Types Library Types   [Index]


7.38.2.3 struct x1f4_lxflat_type

typedef struct x1f4_lxflat_type {
    struct x1f4_track_type textflat_set;
    struct {
	int (*call)(void *, void *);
	void *text;
    } abstract_set;
    struct {
	struct x1f4_cxflat_type *cxflat_data;
	unsigned miss;
    } datatype_set;
    struct x1f4_trans_type resource_set;
    struct x1f4_trans_type codelink_set;
} x1f4_lxflat_type;

The x1f4_lxflat_type record lists the application concerns related to the proxy types library objects generation.

The fields that are always interpreted by the proxy types library constructor function are:

datatype_set

introduces the descriptions of the data types to construct:

cxflat_data

the descriptions array

See struct x1f4_cxflat_type.

miss

the number of data type descriptions

The fields that are interpreted only if so requested are:

See Proxy Types Library Generation Flags.

abstract_set

specifies the proxy object destruction observer as:

call

the observer method. The method will be called every time a proxy object is destroyed, with the observer context and the address of the proxy object as arguments, in this order. The method is to return 0 for successful execution and non zero for failure (an error class indication for the benefit of error recovery).

See Error Classes.

text

the observer context, passed as the first argument to the observer method when called and otherwise not used

codelink_set

specifies the library data memory allocator (allocates memory for the library object construction purposes only).

See struct x1f4_trans_type.

See Memory Allocator Construct.

resource_set

specifies the data memory allocator (allocates memory for the data created while executing programs).

See struct x1f4_trans_type.

See Memory Allocator Construct.

textflat_set

specifies the error reporter.

See struct x1f4_track_type.

See Error Reporter Construct.


Previous: struct x1f4_dxflat_type, Up: Proxy Types Library Types   [Index]