Changeset 380 for branches/1.2/mem.c

Show
Ignore:
Timestamp:
05/10/2007 01:20:46 AM (19 months ago)
Author:
moo
Message:

make life easier for debugging

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.2/mem.c

    r302 r380  
    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" 
     
    3030 
    3131/* {{{ mem */ 
    32 struct _xc_block_t { 
     32struct _xc_mem_block_t { 
    3333#ifdef ALLOC_DEBUG_BLOCK_CHECK 
    3434    unsigned int magic; 
     
    3838}; 
    3939 
    40 struct _xc_mem_t { 
     40struct _xc_mem_mem_t { 
    4141    const xc_mem_handlers_t *handlers; 
    4242    xc_shm_t                *shm;