5
Last change
on this file since 1c2d178 was
e2fe881a,
checked in by Sebastian Huber <sebastian.huber@…>, on 09/27/17 at 12:37:07
|
score: Simplify red-black tree debug support
Make the RBTree_Node layout independent of RTEMS_DEBUG (and all other
build configuration options). This allows the use of this structure in
Newlib.
Update #3112.
|
-
Property mode set to
100644
|
File size:
521 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2010-2012 Gedare Bloom. |
---|
3 | * |
---|
4 | * The license and distribution terms for this file may be |
---|
5 | * found in the file LICENSE in this distribution or at |
---|
6 | * http://www.rtems.org/license/LICENSE. |
---|
7 | */ |
---|
8 | |
---|
9 | #if HAVE_CONFIG_H |
---|
10 | #include "config.h" |
---|
11 | #endif |
---|
12 | |
---|
13 | #include <rtems/score/rbtreeimpl.h> |
---|
14 | |
---|
15 | RB_GENERATE_INSERT_COLOR( RBTree_Control, RBTree_Node, Node, static inline ) |
---|
16 | |
---|
17 | void _RBTree_Insert_color( |
---|
18 | RBTree_Control *the_rbtree, |
---|
19 | RBTree_Node *the_node |
---|
20 | ) |
---|
21 | { |
---|
22 | RBTree_Control_RB_INSERT_COLOR( the_rbtree, the_node ); |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.