VirtualBox

Changeset 97907 in vbox for trunk/include


Ignore:
Timestamp:
Dec 29, 2022 6:33:45 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154997
Message:

IPRT: Removed the RTMemExecAlloc interface.

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r97905 r97907  
    16011601# define RTMemEfTmpFreeZ                                RT_MANGLER(RTMemEfTmpFreeZ)
    16021602# define RTMemEfTmpFreeZNP                              RT_MANGLER(RTMemEfTmpFreeZNP)
    1603 # define RTMemExecAllocTag                              RT_MANGLER(RTMemExecAllocTag)
    1604 # define RTMemExecFree                                  RT_MANGLER(RTMemExecFree)
    16051603# define RTMemFree                                      RT_MANGLER(RTMemFree)
    16061604# define RTMemFreeZ                                     RT_MANGLER(RTMemFreeZ)
  • trunk/include/iprt/mem.h

    r97905 r97907  
    438438RTDECL(void) RTMemFreeEx(void *pv, size_t cb) RT_NO_THROW_PROTO;
    439439
    440 
    441 
    442 /**
    443  * Allocates memory which may contain code (default tag).
    444  *
    445  * @returns Pointer to the allocated memory.
    446  * @returns NULL on failure.
    447  * @param   cb      Size in bytes of the memory block to allocate.
    448  */
    449 #define RTMemExecAlloc(cb)              RTMemExecAllocTag((cb), RTMEM_TAG)
    450 
    451 /**
    452  * Allocates memory which may contain code (custom tag).
    453  *
    454  * @returns Pointer to the allocated memory.
    455  * @returns NULL on failure.
    456  * @param   cb      Size in bytes of the memory block to allocate.
    457  * @param   pszTag  Allocation tag used for statistics and such.
    458  */
    459 RTDECL(void *)  RTMemExecAllocTag(size_t cb, const char *pszTag) RT_NO_THROW_PROTO;
    460 
    461 /**
    462  * Free executable/read/write memory allocated by RTMemExecAlloc().
    463  *
    464  * @param   pv      Pointer to memory block.
    465  * @param   cb      The allocation size.
    466  */
    467 RTDECL(void)    RTMemExecFree(void *pv, size_t cb) RT_NO_THROW_PROTO;
    468 
    469440/**
    470441 * Allocate page aligned memory with default tag.
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