Properly declare with FORCEINLINE

svn path=/trunk/; revision=63015
This commit is contained in:
Pierre Schweitzer 2014-04-27 12:34:39 +00:00
parent f9db642103
commit a1b1ed5592

View file

@ -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;