Changeset 1062 in svn for trunk/xcache/xc_mem.h


Ignore:
Timestamp:
2012-07-27T17:10:17+02:00 (3 years ago)
Author:
Xuefer
Message:

const some mem handlers
split non-shared data from shm
make editor goto file correctly

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1818devel.ini
        1919devel.php
         20devel.fpm
        2021.gdb_history
        2122include
  • trunk/xcache/xc_mem.h

    r982 r1062  
    2525#define XC_MEM_STRNDUP(func)         char *func(xc_mem_t *mem, const char *str, xc_memsize_t len)
    2626#define XC_MEM_STRDUP(func)          char *func(xc_mem_t *mem, const char *str)
    27 #define XC_MEM_AVAIL(func)           xc_memsize_t      func(xc_mem_t *mem)
    28 #define XC_MEM_SIZE(func)            xc_memsize_t      func(xc_mem_t *mem)
    29 #define XC_MEM_FREEBLOCK_FIRST(func) const xc_block_t *func(xc_mem_t *mem)
     27#define XC_MEM_AVAIL(func)           xc_memsize_t      func(const xc_mem_t *mem)
     28#define XC_MEM_SIZE(func)            xc_memsize_t      func(const xc_mem_t *mem)
     29#define XC_MEM_FREEBLOCK_FIRST(func) const xc_block_t *func(const xc_mem_t *mem)
    3030#define XC_MEM_FREEBLOCK_NEXT(func)  const xc_block_t *func(const xc_block_t *block)
    3131#define XC_MEM_BLOCK_SIZE(func)      xc_memsize_t      func(const xc_block_t *block)
Note: See TracChangeset for help on using the changeset viewer.