Function fann_sys::fann_get_user_data[][src]

pub unsafe extern "C" fn fann_get_user_data(ann: *mut fann) -> *mut c_void

Get a pointer to user defined data that was previously set with fann_set_user_data. It is the user's responsibility to allocate and deallocate any data that the pointer might point to.

Parameters

  • ann - A previously created neural network structure of type fann pointer.

Returns

A void pointer to user defined data.

This function appears in FANN >= 2.1.0.