Next: , Previous: , Up: Temporaries Registration Functions   [Index]


14.1.1.3 x1f4_cast_node

extern int x1f4_cast_node
    (struct x1f4_frame_type *frame, struct x1f4_track_type *track,
     struct x1f4_nodetype_type *nodetype, int type, const void *input,
     void *output);

The x1f4_cast_node function creates a temporary object container encapsulating a reference to the object that has its address stored at input 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 nodetype data type definition record and the type symbolic type. type would match the nodetype code field, except for function pointer types. The lead method is assumed available for nodetype and usable, ditto for slip.

See Function Pointers.

See The Object Type.

See Temporaries.

See struct x1f4_frame_type.

See struct x1f4_track_type.

See struct x1f4_nodetype_type.

The function returns 0 for success, non zero for failure.