man vf_set_prop_value (Fonctions bibliothèques) - vf_set_prop_value()

NAME

vf_set_prop_value - vf_set_prop_value()

SYNOPSIS

#include <../vformat/vf_iface.h> extern bool_t vf_set_prop_value

(

VF_PROP_T *p_prop,

void *p_value,

uint32_t n_param,

vf_encoding_t encoding,

bool_t copy

);

PARAMETERS

VF_PROP_T *p_prop
The property.
void *p_value
Pointer to the data.
uint32_t n_param
Data size or index.
vf_encoding_t encoding
Encoding in use.
bool_t copy
Copy the data?.

DESCRIPTION

Set values associated with a property.

Passing a value of encoding not the same as the current property encoding will cause the property contents to be freed prior to setting the indicated value.

RETURNS

TRUE <=> re-allocation success & encoding correct, FALSE else.

SEE ALSO