Release Date: 1 February 2008
Namedt_setadjunct - specify the adjunct value of an object
Generic Prototypedt_setadjunct(dt_Handle, dt_Handle) => dt_Handle
C Prototype#include "dt_smiles.h"
dt_Handle dt_setadjunct(dt_Handle object, dt_Handle adjunct)
FORTRAN Prototypeinclude 'dt_f_smiles.inc'
integer*4 dt_f_setadjunct(object, adjunct)
DescriptionMakes 'adjunct' the adjunct of 'object'. This is a simple mechanism to let one object point to another. 'Object' and 'adjunct' can be any types, including sequences or streams to allow arbitrarily complex relationships between objects.
Note that as of version 4.51, this is functionally identical to: dt_sethandle(object, "adjunct"). That is, the functions dt_adjunct(3) and dt_setadjunct(3) are actually 'wrappers' which operate on the named property 'adjunct' in the toolkit.
Return ValueReturns 'object' or the NULL_OB if an error is detected.
Related Topicsdt_adjunct(3) dt_base(3) dt_parent(3)