Return a datum holding a user‐defined type reference.
Synopsis
Declared in <bdld_datum.h>
static
Datum
createUdt(
void* data,
int type);
Description
Return, by value, a datum having the DatumUdt value with the specified data and the specified type values. The behavior is undefined unless 0 <= type <= 65535. Note that data is held, not owned. Also note that the content pointed to by data object is not copied.
Return Value
a datum holding a user‐defined type reference
Parameters
Name |
Description |
data |
pointer to the user‐defined object |
type |
user‐defined type discriminator in |
Created with MrDocs