liblightify
|
Functions | |
int | lightify_new (struct lightify_ctx **ctx, void *reserved) |
int | lightify_free (struct lightify_ctx *ctx) |
void * | lightify_get_userdata (struct lightify_ctx *ctx) |
int | lightify_set_userdata (struct lightify_ctx *ctx, void *userdata) |
int lightify_free | ( | struct lightify_ctx * | ctx | ) |
void* lightify_get_userdata | ( | struct lightify_ctx * | ctx | ) |
int lightify_new | ( | struct lightify_ctx ** | ctx, |
void * | reserved | ||
) |
int lightify_set_userdata | ( | struct lightify_ctx * | ctx, |
void * | userdata | ||
) |
Store a pointer in the library context.
This can be used for user-data to be associated with the context.
ctx | context |
userdata | pointer to be stored |