ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/clip_macosx.cpp
(Generate patch)

Comparing BasiliskII/src/MacOSX/clip_macosx.cpp (file contents):
Revision 1.8 by asvitkine, 2009-10-18T01:22:33Z vs.
Revision 1.10 by asvitkine, 2010-10-16T04:11:18Z

# Line 19 | Line 19
19   */
20  
21   #include "sysdeps.h"
22 + #define _UINT64
23   #include <Carbon/Carbon.h>
24  
25   #include "clip.h"
# Line 97 | Line 98 | void ClipExit(void)
98  
99   void GetScrap(void **handle, uint32 type, int32 offset)
100   {
101 + #if defined(__LP64__)
102 +        D(bug("GetScrap handle %p, type %08x, offset %d\n", handle, type, offset));
103 +        #warning Carbon scrapbook function are not implemented in 64-bit mode
104 + #else
105          D(bug("GetScrap handle %p, type %08x, offset %d\n", handle, type, offset));
106          ScrapRef theScrap;
107  
# Line 151 | Line 156 | void GetScrap(void **handle, uint32 type
156                          Execute68kTrap(0xa01f, &r);                     // DisposePtr
157                  }
158          }
159 + #endif
160   }
161  
162  
# Line 160 | Line 166 | void GetScrap(void **handle, uint32 type
166  
167   void PutScrap(uint32 type, void *scrap, int32 length)
168   {
169 + #if defined(__LP64__)
170 +        #warning Carbon scrapbook function are not implemented in 64-bit mode
171 +        D(bug("PutScrap type %4.4s, data %08lx, length %ld\n", &type, scrap, length));
172 + #else
173          static bool clear = true;
174          D(bug("PutScrap type %4.4s, data %08lx, length %ld\n", &type, scrap, length));
175          ScrapRef theScrap;
# Line 187 | Line 197 | void PutScrap(uint32 type, void *scrap,
197                  //return;
198          }
199          SwapScrapData(type, scrap, length, FALSE); // swap it back
200 + #endif
201   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines