Method
WPEPlatformBufferset_user_data
Declaration [src]
void
wpe_buffer_set_user_data (
WPEBuffer* buffer,
gpointer user_data,
GDestroyNotify destroy_func
)
Description [src]
Set user_data to buffer.
When buffer is destroyed destroy_func is called with user_data.
Parameters
user_data-
Type:
gpointerData to associate with
buffer.The argument can be NULL.The data is owned by the caller of the function. destroy_func-
Type:
GDestroyNotifyThe function to call to release
user_data.The argument can be NULL.