Use the tibasFieldDef_Create() function to create a new field definition. The field definition is returned in a fieldDef object that you pass to the function.
The fieldName parameter specifies a string, enclosed in double quotes, that represents the field name.
The fieldType parameter specifies the type for the field. This can be any of the data types listed in the tibas_type enumeration (See
tibas_type for the enumeration that lists the data types).
After you have created the fields for a tuple by calling tibasFieldDef_Create(), you can assign the fields to a spaceDef object by calling the
tibasSpaceDef_PutFieldDef() function and assign a key value by calling the
tibasSpaceDef_SetKey() function.