Changeset 380 in svn for branches/1.2/mem.c


Ignore:
Timestamp:
2007-05-10T01:20:46Z (8 years ago)
Author:
Xuefer
Message:

make life easier for debugging

File:
1 edited

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;
Note: See TracChangeset for help on using the changeset viewer.