Next: , Up: Value Labels   [Contents][Index]


2.4.1 Creation and Destruction

These functions create and destroy struct val_labs objects.

Function: struct val_labs * val_labs_create (int width)

Creates and returns an initially empty set of value labels with the given width.

Function: struct val_labs * val_labs_clone (const struct val_labs *val_labs)

Creates and returns a set of value labels whose width and contents are the same as those of var_labs.

Function: void val_labs_clear (struct val_labs *var_labs)

Deletes all value labels from var_labs.

Function: void val_labs_destroy (struct val_labs *var_labs)

Destroys var_labs, which must not be referenced again.