Changeset 381 in svn for trunk/mem.c


Ignore:
Timestamp:
2007-05-10T03:26:12+02:00 (8 years ago)
Author:
Xuefer
Message:

merged [380] from 1.2: make life easier for debugging

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/mem.c

    r306 r381  
    99#include <stdlib.h>
    1010#include <string.h>
    11 #define XC_SHM_IMPL
    12 #define XC_MEM_IMPL
     11#define XC_MEMBLOCK_IMPL _xc_mem_block_t
     12#define XC_MEM_IMPL _xc_mem_mem_t
    1313#include "xc_shm.h"
    1414#include "align.h"
     
    3131
    3232/* {{{ mem */
    33 struct _xc_block_t {
     33struct _xc_mem_block_t {
    3434#ifdef ALLOC_DEBUG_BLOCK_CHECK
    3535    unsigned int magic;
     
    3939};
    4040
    41 struct _xc_mem_t {
     41struct _xc_mem_mem_t {
    4242    const xc_mem_handlers_t *handlers;
    4343    xc_shm_t                *shm;
Note: See TracChangeset for help on using the changeset viewer.