fann_sys::fann_set_user_data [] [src]

pub unsafe extern fn fann_set_user_data(ann: *mut fann, user_data: *mut c_void)

Store a pointer to user defined data. The pointer can be retrieved with fann_get_user_data for example in a callback. It is the user's responsibility to allocate and deallocate any data that the pointer might point to.

Parameters

This function appears in FANN >= 2.1.0.