Daylight v4.9
Release Date: 1 February 2008

Name

dt_setadjunct - specify the adjunct value of an object

Generic Prototype

dt_setadjunct(dt_Handle, dt_Handle) => dt_Handle

C Prototype

#include "dt_smiles.h"

dt_Handle dt_setadjunct(dt_Handle object, dt_Handle adjunct)

FORTRAN Prototype

include 'dt_f_smiles.inc'

integer*4 dt_f_setadjunct(object, adjunct)

integer*4 object
integer*4 adjunct

Description

Makes '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 Value

Returns 'object' or the NULL_OB if an error is detected.

Related Topics

dt_adjunct(3) dt_base(3) dt_parent(3)