Next: x1f4_raft_node, Previous: x1f4_cast_text, Up: Temporaries Registration Functions [Index]
extern int x1f4_hang_node (struct x1f4_frame_type *frame, struct x1f4_track_type *track, struct x1f4_datatype_type *datatype, int type, void *data, void *output);
The x1f4_hang_node
function creates a temporary object container
encapsulating a reference to the object at data
and stores its address
at output
. The frame
temporaries allocator is used for the memory allocation and the track
error reporter for reporting failures. The references object is assumed
described by the datatype
data type definition record and the
type
symbolic type. type
would match the datatype
code
field, except for function pointer types.
The slip
method and the context
pointer in the datatype
record are assumed available and used.
See Function Pointers.
See The Object Type.
See Temporaries.
See struct x1f4_datatype_type.
The function returns 0
for success, non zero for failure.
Similar with x1f4_cast_node
, the function takes a struct
x1f4_datatype_type
type description record instead, the address of the object
to later release instead the address where the address is stored, and does not
retain the object beforehand.
See x1f4_cast_node.