opal: fix comment in OPAL_LIST_FOREACH macro. no code change.
Этот коммит содержится в:
родитель
13d49c135f
Коммит
014f917462
@ -12,6 +12,8 @@
|
|||||||
* Copyright (c) 2007 Voltaire All rights reserved.
|
* Copyright (c) 2007 Voltaire All rights reserved.
|
||||||
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
|
* Copyright (c) 2016 Research Organization for Information Science
|
||||||
|
* and Technology (RIST). All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -204,8 +206,8 @@ typedef struct opal_list_t opal_list_t;
|
|||||||
* Example Usage:
|
* Example Usage:
|
||||||
*
|
*
|
||||||
* class_foo_t *foo;
|
* class_foo_t *foo;
|
||||||
* opal_list_foreach(foo, list, class_foo_t) {
|
* OPAL_LIST_FOREACH(foo, list, class_foo_t) {
|
||||||
* do something;
|
* do something(foo);
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
#define OPAL_LIST_FOREACH(item, list, type) \
|
#define OPAL_LIST_FOREACH(item, list, type) \
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user