/[gcl]/gcl/h/page.h
ViewVC logotype

Diff of /gcl/h/page.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by camm, Sat Feb 15 00:38:27 2003 UTC revision 1.5 by camm, Thu Aug 21 04:19:30 2003 UTC
# Line 10  Line 10 
10    (MAYBE_DATA_P(pp) &&  ((char *)(pp) < heap_end))    (MAYBE_DATA_P(pp) &&  ((char *)(pp) < heap_end))
11    
12  #ifndef page  #ifndef page
13  #define page(p) (((long)(((char *)(p))-DBEGIN)>>PAGEWIDTH))  #define page(p) ((unsigned int)(((unsigned long)(((char *)(p))-DBEGIN)>>PAGEWIDTH)))
14  #define pagetochar(x)   ((char *)(((x) << PAGEWIDTH) + DBEGIN))  #define pagetochar(x)   ((char *)((((unsigned long)x) << PAGEWIDTH) + DBEGIN))
15  #endif  #endif
16        
17  #ifdef UNIX  #ifdef UNIX

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26