ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/include/thunks.h
(Generate patch)

Comparing SheepShaver/src/include/thunks.h (file contents):
Revision 1.11 by gbeauche, 2004-11-22T21:50:45Z vs.
Revision 1.12 by gbeauche, 2004-11-22T22:04:38Z

# Line 166 | Line 166 | static inline uint32 SheepProc(const uin
166          return mac_proc;
167   }
168  
169 + #define BUILD_SHEEPSHAVER_PROCEDURE(PROC)                                                       \
170 +        static uint32 PROC = 0;                                                                                 \
171 +        if (PROC == 0)                                                                                                  \
172 +                PROC = SheepProc(PROC##_template, sizeof(PROC##_template))
173 +
174   class SheepVar
175   {
176          uint32 m_base;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines