mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:32:56 +00:00
[RTL]
Properly declare with FORCEINLINE svn path=/trunk/; revision=63015
This commit is contained in:
parent
f9db642103
commit
a1b1ed5592
1 changed files with 5 additions and 5 deletions
|
@ -24,16 +24,16 @@
|
||||||
#define RtlInsertAsLeftChildAvl RtlInsertAsLeftChild
|
#define RtlInsertAsLeftChildAvl RtlInsertAsLeftChild
|
||||||
#define RtlIsLeftChildAvl RtlIsLeftChild
|
#define RtlIsLeftChildAvl RtlIsLeftChild
|
||||||
|
|
||||||
VOID
|
|
||||||
FORCEINLINE
|
FORCEINLINE
|
||||||
|
VOID
|
||||||
RtlpCopyAvlNodeData(IN PRTL_BALANCED_LINKS Node1,
|
RtlpCopyAvlNodeData(IN PRTL_BALANCED_LINKS Node1,
|
||||||
IN PRTL_BALANCED_LINKS Node2)
|
IN PRTL_BALANCED_LINKS Node2)
|
||||||
{
|
{
|
||||||
*Node1 = *Node2;
|
*Node1 = *Node2;
|
||||||
}
|
}
|
||||||
|
|
||||||
RTL_GENERIC_COMPARE_RESULTS
|
|
||||||
FORCEINLINE
|
FORCEINLINE
|
||||||
|
RTL_GENERIC_COMPARE_RESULTS
|
||||||
RtlpAvlCompareRoutine(IN PRTL_AVL_TABLE Table,
|
RtlpAvlCompareRoutine(IN PRTL_AVL_TABLE Table,
|
||||||
IN PVOID Buffer,
|
IN PVOID Buffer,
|
||||||
IN PVOID UserData)
|
IN PVOID UserData)
|
||||||
|
@ -44,24 +44,24 @@ RtlpAvlCompareRoutine(IN PRTL_AVL_TABLE Table,
|
||||||
UserData);
|
UserData);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
|
||||||
FORCEINLINE
|
FORCEINLINE
|
||||||
|
VOID
|
||||||
RtlSetParent(IN PRTL_BALANCED_LINKS Node,
|
RtlSetParent(IN PRTL_BALANCED_LINKS Node,
|
||||||
IN PRTL_BALANCED_LINKS Parent)
|
IN PRTL_BALANCED_LINKS Parent)
|
||||||
{
|
{
|
||||||
Node->Parent = Parent;
|
Node->Parent = Parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
|
||||||
FORCEINLINE
|
FORCEINLINE
|
||||||
|
VOID
|
||||||
RtlSetBalance(IN PRTL_BALANCED_LINKS Node,
|
RtlSetBalance(IN PRTL_BALANCED_LINKS Node,
|
||||||
IN CHAR Balance)
|
IN CHAR Balance)
|
||||||
{
|
{
|
||||||
Node->Balance = Balance;
|
Node->Balance = Balance;
|
||||||
}
|
}
|
||||||
|
|
||||||
CHAR
|
|
||||||
FORCEINLINE
|
FORCEINLINE
|
||||||
|
CHAR
|
||||||
RtlBalance(IN PRTL_BALANCED_LINKS Node)
|
RtlBalance(IN PRTL_BALANCED_LINKS Node)
|
||||||
{
|
{
|
||||||
return Node->Balance;
|
return Node->Balance;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue