VirtualBox

Ignore:
Timestamp:
Apr 5, 2011 12:34:09 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70988
Message:

Use DECLHIDDEN, especially in IPRT.

Location:
trunk/src/VBox/Runtime/common/table
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/table/avl_Base.cpp.h

    r36233 r36555  
    127127#endif
    128128
     129/** @def KAVL_DECL
     130 * Function declation macro in the RTDECL tradition.
     131 * @param   a_Type      The function return type.  */
     132#ifndef KAVL_DECL
     133# define KAVL_DECL(a_Type)  RTDECL(a_Type)
     134#endif
    129135
    130136
     
    291297 *            Rebalance the tree.
    292298 */
    293 RTDECL(bool) KAVL_FN(Insert)(PPKAVLNODECORE ppTree, PKAVLNODECORE pNode)
     299KAVL_DECL(bool) KAVL_FN(Insert)(PPKAVLNODECORE ppTree, PKAVLNODECORE pNode)
    294300{
    295301    KAVLSTACK               AVLStack;
     
    391397 *            return pointer to the removed node (if found).
    392398 */
    393 RTDECL(PKAVLNODECORE) KAVL_FN(Remove)(PPKAVLNODECORE ppTree, KAVLKEY Key)
     399KAVL_DECL(PKAVLNODECORE) KAVL_FN(Remove)(PPKAVLNODECORE ppTree, KAVLKEY Key)
    394400{
    395401    KAVLSTACK                AVLStack;
  • trunk/src/VBox/Runtime/common/table/avl_Destroy.cpp.h

    r28800 r36555  
    4141 * @param   pvUser          User parameter passed on to the callback function.
    4242 */
    43 RTDECL(int) KAVL_FN(Destroy)(PPKAVLNODECORE ppTree, PKAVLCALLBACK pfnCallBack, void *pvUser)
     43KAVL_DECL(int) KAVL_FN(Destroy)(PPKAVLNODECORE ppTree, PKAVLCALLBACK pfnCallBack, void *pvUser)
    4444{
    4545    unsigned        cEntries;
  • trunk/src/VBox/Runtime/common/table/avl_DoWithAll.cpp.h

    r28800 r36555  
    3838 * @param     pvParam      Userparameter passed on to the callback function.
    3939 */
    40 RTDECL(int) KAVL_FN(DoWithAll)(PPKAVLNODECORE ppTree, int fFromLeft, PKAVLCALLBACK pfnCallBack, void * pvParam)
     40KAVL_DECL(int) KAVL_FN(DoWithAll)(PPKAVLNODECORE ppTree, int fFromLeft, PKAVLCALLBACK pfnCallBack, void * pvParam)
    4141{
    4242    KAVLSTACK2      AVLStack;
  • trunk/src/VBox/Runtime/common/table/avl_Enum.cpp.h

    r28800 r36555  
    3737 * @param   ppTree      Pointer to pointer to the tree root node.
    3838 */
    39 RTDECL(PKAVLNODECORE) KAVL_FN(GetRoot)(PPKAVLNODECORE ppTree)
     39KAVL_DECL(PKAVLNODECORE) KAVL_FN(GetRoot)(PPKAVLNODECORE ppTree)
    4040{
    4141    return KAVL_GET_POINTER_NULL(ppTree);
     
    5151 * @param   pNode       The current node.
    5252 */
    53 RTDECL(PKAVLNODECORE)    KAVL_FN(GetRight)(PKAVLNODECORE pNode)
     53KAVL_DECL(PKAVLNODECORE)    KAVL_FN(GetRight)(PKAVLNODECORE pNode)
    5454{
    5555    if (pNode)
     
    6767 * @param   pNode       The current node.
    6868 */
    69 RTDECL(PKAVLNODECORE) KAVL_FN(GetLeft)(PKAVLNODECORE pNode)
     69KAVL_DECL(PKAVLNODECORE) KAVL_FN(GetLeft)(PKAVLNODECORE pNode)
    7070{
    7171    if (pNode)
     
    8484 * @param   pNode       The current node.
    8585 */
    86 RTDECL(PKAVLNODECORE) KAVL_FN(GetNextEqual)(PKAVLNODECORE pNode)
     86KAVL_DECL(PKAVLNODECORE) KAVL_FN(GetNextEqual)(PKAVLNODECORE pNode)
    8787{
    8888    if (pNode)
  • trunk/src/VBox/Runtime/common/table/avl_Get.cpp.h

    r28800 r36555  
    3636 * @author    knut st. osmundsen
    3737 */
    38 RTDECL(PKAVLNODECORE) KAVL_FN(Get)(PPKAVLNODECORE ppTree, KAVLKEY Key)
     38KAVL_DECL(PKAVLNODECORE) KAVL_FN(Get)(PPKAVLNODECORE ppTree, KAVLKEY Key)
    3939{
    4040    register PKAVLNODECORE  pNode = KAVL_GET_POINTER_NULL(ppTree);
  • trunk/src/VBox/Runtime/common/table/avl_GetBestFit.cpp.h

    r28800 r36555  
    4242 *            <= (below): the node where you last turned right.
    4343 */
    44 RTDECL(PKAVLNODECORE) KAVL_FN(GetBestFit)(PPKAVLNODECORE ppTree, KAVLKEY Key, bool fAbove)
     44KAVL_DECL(PKAVLNODECORE) KAVL_FN(GetBestFit)(PPKAVLNODECORE ppTree, KAVLKEY Key, bool fAbove)
    4545{
    4646    register PKAVLNODECORE  pNode = KAVL_GET_POINTER_NULL(ppTree);
  • trunk/src/VBox/Runtime/common/table/avl_Range.cpp.h

    r28800 r36555  
    3636 * @param     Key     The Key to find matching range for.
    3737 */
    38 RTDECL(PKAVLNODECORE) KAVL_FN(RangeGet)(PPKAVLNODECORE ppTree, register KAVLKEY Key)
     38KAVL_DECL(PKAVLNODECORE) KAVL_FN(RangeGet)(PPKAVLNODECORE ppTree, register KAVLKEY Key)
    3939{
    4040    register PKAVLNODECORE  pNode = KAVL_GET_POINTER_NULL(ppTree);
  • trunk/src/VBox/Runtime/common/table/avl_RemoveBestFit.cpp.h

    r28800 r36555  
    4444 * @remark    This implementation should be speeded up slightly!
    4545 */
    46 RTDECL(PKAVLNODECORE) KAVL_FN(RemoveBestFit)(PPKAVLNODECORE ppTree, KAVLKEY Key, bool fAbove)
     46KAVL_DECL(PKAVLNODECORE) KAVL_FN(RemoveBestFit)(PPKAVLNODECORE ppTree, KAVLKEY Key, bool fAbove)
    4747{
    4848    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette