VirtualBox

Changeset 20360 in vbox for trunk/include/iprt/types.h


Ignore:
Timestamp:
Jun 8, 2009 12:04:31 AM (16 years ago)
Author:
vboxsync
Message:

IPRT: Memory pool (untested) and string pool stub implementation.

File:
1 edited

Legend:

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

    r19559 r20360  
    12041204#define NIL_RTDBGMOD                                ((RTDBGMOD)0)
    12051205
     1206/** Memory pool handle. */
     1207typedef R3R0PTRTYPE(struct RTMEMPOOLINT *)          RTMEMPOOL;
     1208/** Pointer to a memory pool handle. */
     1209typedef RTMEMPOOL                                  *PRTMEMPOOL;
     1210/** NIL memory pool handle. */
     1211#define NIL_RTMEMPOOL                               ((RTMEMPOOL)0)
     1212/** The default memory pool handle. */
     1213#define RTMEMPOOL_DEFAULT                           ((RTMEMPOOL)-2)
     1214
     1215/** String cache handle. */
     1216typedef R3R0PTRTYPE(struct RTSTRCACHEINT *)         RTSTRCACHE;
     1217/** Pointer to a string cache handle. */
     1218typedef RTSTRCACHE                                 *PRTSTRCACHE;
     1219/** NIL string cache handle. */
     1220#define NIL_RTSTRCACHE                              ((RTSTRCACHE)0)
     1221/** The default string cache handle. */
     1222#define RTSTRCACHE_DEFAULT                          ((RTSTRCACHE)-2)
     1223
    12061224
    12071225/**
Note: See TracChangeset for help on using the changeset viewer.

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