Function ntcore_sys::NT_GetEntryStringArray
[−]
[src]
pub unsafe extern "C" fn NT_GetEntryStringArray(
entry: NT_Entry,
last_change: *mut u64,
arr_size: *mut usize
) -> *mut NT_String
Returns a copy of the NT_String array assigned to the entry name. If the entry name is not currently assigned, or is assigned to a different type, returns null.
@param entry entry handle @param last_change returns time in ms since the last change in the value @param arr_size returns the number of elements in the array @return pointer to the NT_String array, or null if error
It is the caller's responsibility to free the array once its no longer needed. The NT_FreeStringArray() function is useful for this purpose. Note that the individual NT_Strings should not be freed, but the entire array should be freed at once. The NT_FreeStringArray() function will free all the NT_Strings.