Changeset 1094


Ignore:
Timestamp:
03/20/11 08:30:31 (2 years ago)
Author:
reyalP
Message:

save some memory in ctypes, thanks philmoz

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/generic/wrappers.c

    r1092 r1094  
    3333_L,_L,_L,_L,_L,_L,_L,_L,                        /* 112-119 */ 
    3434_L,_L,_L,_P,_P,_P,_P,_C,                        /* 120-127 */ 
     35// since the following have nothing set, we can save memory by leaving them out 
     36#if 0 
    35370,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,                /* 128-143 */ 
    36380,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,                /* 144-159 */ 
     
    40420,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,                /* 208-223 */ 
    41430,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,                /* 224-239 */ 
    42 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};               /* 240-255 */ 
     440,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0         /* 240-255 */ 
     45#endif 
     46}; 
    4347    // have to handle EOF (-1) 
    4448    if( (unsigned)c >= sizeof(ctypes)) { 
Note: See TracChangeset for help on using the changeset viewer.