Saturday, April 21st 2018, 3:28pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

mastupristi

Beginner

Date of registration: Feb 18th 2016

Posts: 38

1

Thursday, March 8th 2018, 2:51pm

undocumented functions LISTWHEEL_SetItemData()/LISTWHEEL_GetItemData()

in the LISTWHEEL.h file I found these two statements:

C/C++ Source code

1
2
3
4
5
6
7
8
9
10
/*********************************************************************
*
*       Member functions
*
**********************************************************************
*/
void      LISTWHEEL_AddString      (LISTWHEEL_Handle hObj, const char * s);
void *    LISTWHEEL_GetItemData    (LISTWHEEL_Handle hObj, unsigned Index); /* not to be documented */
[...]
void      LISTWHEEL_SetItemData    (LISTWHEEL_Handle hObj, unsigned Index, void * pData); /* not to be documented */



LISTWHEEL_SetItemData ()/LISTWHEEL_GetItemData () functions have the comment "not to be documented".
What these functions do I think I can guess from the names.

Why are they not documented? What happens if I use these two functions? what risk?



best regards
Max