Daylight v4.9
Release Date: 1 February 2008

Name

dt_alloc_string - allocate a new string object

Generic Prototype

dt_alloc_string(dt_String) => dt_Handle

C Prototype

#include "dt_smiles.h"

dt_Handle dt_alloc_string(dt_Integer strlen, dt_String string)

FORTRAN Prototype

include 'dt_f_smiles.inc'

integer*4 dt_f_alloc_string(string)

character*() string

Description

Allocates a new string object. The contents of the object is identical to 'string'. The object contains a copy of 'string', so the application can discard the original string after calling this function. Note that 'string' may be the invalid string. The object will be successfully allocated and will contain the invalid string.

Return Value

Returns the handle of a new string object.

Related Topics

dt_alloc_integer(3) dt_alloc_real(3) dt_alloc_seq(3) dt_ascii2binary(3) dt_binary2ascii(3) dt_binary2asciilen(3) dt_setstringvalue(3) dt_stringvalue(3)