VirtualBox

Changeset 35191 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Dec 16, 2010 3:25:20 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69030
Message:

Some cleanup. Pass RTLDRLOAD_FLAGS_LOCAL instead of 0, since it's defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/ldr.h

    r35183 r35191  
    3636 */
    3737
    38 /** Symbols defined in this library are not made available to resolve
    39  * references in subsequently loaded libraries (default). */
    40 #define RTLDRFLAGS_LOCAL        0
    41 /** Symbols defined in this library will be made available for symbol
    42  * resolution of subsequently loaded libraries. */
    43 #define RTLDRFLAGS_GLOBAL       RT_BIT(0)
    44 
    4538
    4639RT_C_DECLS_BEGIN
     
    9790 * @param   pszFilename Image filename.
    9891 * @param   phLdrMod    Where to store the handle to the loader module.
    99  * @param   fFlags      See RTLDFLAGS_.
     92 * @param   fFlags      See RTLDRLOAD_FLAGS_XXX.
    10093 * @param   pErrInfo    Where to return extended error information. Optional.
    10194 */
    10295RTDECL(int) RTLdrLoadEx(const char *pszFilename, PRTLDRMOD phLdrMod, uint32_t fFlags, PRTERRINFO pErrInfo);
     96
     97/** @defgroup RTLDRLOAD_FLAGS_XXX RTLdrLoadEx flags.
     98 * @{ */
     99/** Symbols defined in this library are not made available to resolve
     100 * references in subsequently loaded libraries (default). */
     101#define RTLDRLOAD_FLAGS_LOCAL       UINT32_C(0)
     102/** Symbols defined in this library will be made available for symbol
     103 * resolution of subsequently loaded libraries. */
     104#define RTLDRLOAD_FLAGS_GLOBAL      RT_BIT_32(0)
     105/** The mask of valid flag bits. */
     106#define RTLDRLOAD_FLAGS_VALID_MASK  UINT32_C(0x00000001)
     107/** @} */
    103108
    104109/**
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