src/cx/list.h

changeset 1620
bf5d647f939d
parent 1618
ef7cab6eb131
equal deleted inserted replaced
1619:0db02ab1457c 1620:bf5d647f939d
285 * 285 *
286 * Only use this function if you are creating your own list implementation. 286 * Only use this function if you are creating your own list implementation.
287 * The purpose of this function is to be called in the initialization code 287 * The purpose of this function is to be called in the initialization code
288 * of your list to set certain members correctly. 288 * of your list to set certain members correctly.
289 * 289 *
290 * This is particularly important when you want your list to support 290 * This is particularly useful when you want your list to support
291 * #CX_STORE_POINTERS as @p elem_size. This function will wrap the list 291 * #CX_STORE_POINTERS as @p elem_size.
292 * class accordingly and make sure that you can implement your list as if
293 * it was only storing objects, and the wrapper will automatically enable
294 * the feature of storing pointers.
295 * 292 *
296 * @par Example 293 * @par Example
297 * 294 *
298 * @code 295 * @code
299 * CxList *myCustomListCreate( 296 * CxList *myCustomListCreate(

mercurial