Synopsis

(macro) void *oqm_AddObject(long option, OQM_QUEUE *queue, void *object)

Purpose

Add an object to an object queue.

Description

This function will add the specified object to the specified queue and return a pointer to the object in the queue. The object will become the last object in the queue. If the object argument is specified as NULL, an uninitialized object will be added to the stack and its address returned.

Input

option

Options (not used)

queue

Queue pointer

object

Object pointer or NULL

Return

Object pointer in queue or NULL if error