vt_user_fields 7 | 2016-02-28 | genvector manual |
---|
vt_user_fields - optional user defined struct fields
#define GVT_USER_FIELDS int a; char b[128];
When macro GVT_USER_FIELDS is defined during vt_instantiation(7), genvector uses it as the last "field" of the vt_t(7) structure. GVT_USER_FIELDS may create one or more structure fields. Defining extra fields is useful especially with user callbacks such as vt_init_elem(7) and vt_construction(7), to pass on user context.
vt_user_fields 7 | 2016-02-28 | genvector manual |
---|