/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1992 by Xerox Corporation. All rights reserved. */ /* time: March 10, 1992 11:57:20 am PST */ /* C2C version: October 16, 1990 (native) */ /* ref-counting: off */ /* file: AISStubsImpl, module: AISStubsImpl */ /* switches: bcfhklnouw */ #include #include static char versionStamp[] = "@(#)mob_version [457722807,3326375583] AISStubsImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef struct {word f0, f1;} W2; #define SOURCE(p, l) /* source p, l */ static void NoName_Q1320(); static void AISStubsImpl_P0(); static word CreateFile_P60(); static void DeleteFile_P120(); static word OpenFile_P180(); static void CloseFile_P240(); static word ReadComment_P300(); static void WriteComment_P360(); static word ReadPlacement_P420(); static void WritePlacement_P480(); static word ReadPhotometry_P540(); static word ReadHistogram_P600(); static void WritePhotometry_P660(); static word ReadRaster_P720(); static word OpenWindow_P780(); static void CloseWindow_P840(); static void GetWindowParams_P900(); static word MinBufferSize_P960(); static word EndOfWindow_P1020(); static void UnsafeReadLine_P1080(); static void UnsafeWriteLine_P1140(); static word ReadSample_P1200(); static void WriteSample_P1260(); static struct {unsigned f; char r[16];} string1 = {851984, "\257\300\033\110\113\267\300\306\104\166\237\100\150\000\000"}; static struct {unsigned f; char r[16];} string2 = {851984, "\257\300\054\250\365\165\300\020\246\121\061\100\150\000\000"}; static struct { word f0[5]; word f5; word f6; word f7; word f8; word f9; word f10; word f11; word f12; word f13; word f14; word f15; word f16; word f17; word f18; word f19; word f20; word f21; word f22; word f23; word f24; word f25; word f26; word f27; word f28; word f29; word f30; word f31; word f32; word f33; word f34; word f35; word f36; word f37; word f38; word f39; word f40; word f41; word f42; word f43; word f44; word f45; word f46; word f47; word f48[2]; } globalframe = { {0}, (word) WriteSample_P1260, 0, (word) ReadSample_P1200, 0, (word) UnsafeWriteLine_P1140, 0, (word) UnsafeReadLine_P1080, 0, (word) EndOfWindow_P1020, 0, (word) MinBufferSize_P960, 0, (word) GetWindowParams_P900, 0, (word) CloseWindow_P840, 0, (word) OpenWindow_P780, 0, (word) ReadRaster_P720, 0, (word) WritePhotometry_P660, 0, (word) ReadHistogram_P600, 0, (word) ReadPhotometry_P540, 0, (word) WritePlacement_P480, 0, (word) ReadPlacement_P420, 0, (word) WriteComment_P360, 0, (word) ReadComment_P300, 0, (word) CloseFile_P240, 0, (word) OpenFile_P180, 0, (word) DeleteFile_P120, 0, (word) CreateFile_P60, 0, (word) AISStubsImpl_P0, {0} }; static void NoName_Q1320() { register ptr gf_c0106 = (ptr) &globalframe; word var_c7760; (void) XR_DeclareGlobalFrame((word) "AISStubsImpl", &globalframe, (word) XR_GetTypeIndexS((word) (&string1)), (word) (( (bPt) gf_c0106)+188) /* var_c7696 */ ); var_c7760 = (word) XR_ExportInterface((word) "AIS", (word) XR_GetTypeIndexS((word) (&string2)), 22); (* (( (ptr) gf_c0106)+49)/* var_c7728 */ ) = var_c7760; (void) XR_ExportVar(var_c7760, 0, (word) (( (bPt) gf_c0106)+16)/* var_c6992 */ ); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+180)/* var_c7664 */ , 67895555); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+172)/* var_c7632 */ , 262657); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+164)/* var_c7600 */ , 67633922); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+156)/* var_c7568 */ , 263169); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+148)/* var_c7536 */ , 67372289); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+140)/* var_c7504 */ , 525826); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+132)/* var_c7472 */ , 67372801); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+124)/* var_c7440 */ , 526338); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+116)/* var_c7408 */ , 67373313); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+108)/* var_c7376 */ , 67373569); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+100)/* var_c7344 */ , 789251); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+92)/* var_c7312 */ , 67374081); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+84)/* var_c7280 */ , 68422917); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+76)/* var_c7248 */ , 265729); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+68)/* var_c7216 */ , 268701441); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+60)/* var_c7184 */ , 67375105); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+52)/* var_c7152 */ , 67375361); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+44)/* var_c7120 */ , 1053187); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+36)/* var_c7088 */ , 1053443); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+28)/* var_c7056 */ , 67900419); (void) XR_ExportProcS(var_c7760, (word) (( (bPt) gf_c0106)+20)/* var_c7024 */ , 1053956); } static void AISStubsImpl_P0(formal_c027, formal_c026) word formal_c027; word formal_c026; { /* AISStubsImpl: */ } static word CreateFile_P60(name_v3472, raster_v3500, attributeLength_v3528) word name_v3472; word raster_v3500; word attributeLength_v3528; { register ptr gf_c7792 = (ptr) &globalframe; word f_v3572; /* CreateFile: */ SOURCE(402, 133) SOURCE(402, 133) f_v3572 = 0; SOURCE(508, 27) { word var_c032 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c7792)+16)/* var_c6992 */ , (word) &var_c032); }; } static void DeleteFile_P120(name_v3632) word name_v3632; { register ptr gf_c7824 = (ptr) &globalframe; /* DeleteFile: */ SOURCE(541, 68) SOURCE(582, 27) { word var_c034 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c7824)+16)/* var_c6992 */ , (word) &var_c034); }; } static word OpenFile_P180(name_v3692, write_v3720) word name_v3692; word write_v3720; { register ptr gf_c7856 = (ptr) &globalframe; word f_v3764; /* OpenFile: */ SOURCE(615, 108) SOURCE(615, 108) f_v3764 = 0; SOURCE(696, 27) { word var_c038 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c7856)+16)/* var_c6992 */ , (word) &var_c038); }; } static void CloseFile_P240(f_v3824) word f_v3824; { register ptr gf_c7888 = (ptr) &globalframe; /* CloseFile: */ SOURCE(729, 64) SOURCE(766, 27) { word var_c040 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c7888)+16)/* var_c6992 */ , (word) &var_c040); }; } static word ReadComment_P300(f_v3884) word f_v3884; { register ptr gf_c7920 = (ptr) &globalframe; word var_c3928; /* ReadComment: */ SOURCE(799, 81) SOURCE(853, 27) { word var_c043 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c7920)+16)/* var_c6992 */ , (word) &var_c043); }; } static void WriteComment_P360(f_v3988, comment_v4016) word f_v3988; word comment_v4016; { register ptr gf_c7952 = (ptr) &globalframe; /* WriteComment: */ SOURCE(886, 82) SOURCE(941, 27) { word var_c046 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c7952)+16)/* var_c6992 */ , (word) &var_c046); }; } static word ReadPlacement_P420(f_v4076) word f_v4076; { register ptr gf_c7984 = (ptr) &globalframe; word placement_v4120; /* ReadPlacement: */ SOURCE(974, 99) SOURCE(974, 99) placement_v4120 = 0; SOURCE(1046, 27) { word var_c049 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c7984)+16)/* var_c6992 */ , (word) &var_c049); }; } static void WritePlacement_P480(f_v4180, placement_v4208) word f_v4180; word placement_v4208; { register ptr gf_c8016 = (ptr) &globalframe; /* WritePlacement: */ SOURCE(1079, 91) SOURCE(1143, 27) { word var_c052 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8016)+16)/* var_c6992 */ , (word) &var_c052); }; } static word ReadPhotometry_P540(f_v4268) word f_v4268; { register ptr gf_c8048 = (ptr) &globalframe; word var_c4312; /* ReadPhotometry: */ SOURCE(1176, 90) SOURCE(1239, 27) { word var_c055 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8048)+16)/* var_c6992 */ , (word) &var_c055); }; } static word ReadHistogram_P600(f_v4372) word f_v4372; { register ptr gf_c8080 = (ptr) &globalframe; word var_c4416; /* ReadHistogram: */ SOURCE(1271, 88) SOURCE(1332, 27) { word var_c058 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8080)+16)/* var_c6992 */ , (word) &var_c058); }; } static void WritePhotometry_P660(f_v4476, photometry_v4504, histogram_v4532) word f_v4476; word photometry_v4504; word histogram_v4532; { register ptr gf_c8112 = (ptr) &globalframe; /* WritePhotometry: */ SOURCE(1364, 122) SOURCE(1459, 27) { word var_c062 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8112)+16)/* var_c6992 */ , (word) &var_c062); }; } static word ReadRaster_P720(f_v4592) word f_v4592; { register ptr gf_c8144 = (ptr) &globalframe; word var_c4636; /* ReadRaster: */ SOURCE(1492, 82) SOURCE(1547, 27) { word var_c065 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8144)+16)/* var_c6992 */ , (word) &var_c065); }; } static word OpenWindow_P780(f_v4696, firstScan_v4724, lastScan_v4752, firstPixel_v4780, lastPixel_v4808) word f_v4696; word firstScan_v4724; word lastScan_v4752; word firstPixel_v4780; word lastPixel_v4808; { register ptr gf_c8176 = (ptr) &globalframe; word w_v4852; /* OpenWindow: */ SOURCE(1581, 209) SOURCE(1581, 209) w_v4852 = 0; SOURCE(1763, 27) { word var_c072 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8176)+16)/* var_c6992 */ , (word) &var_c072); }; } static void CloseWindow_P840(w_v4912) word w_v4912; { register ptr gf_c8208 = (ptr) &globalframe; /* CloseWindow: */ SOURCE(1796, 66) SOURCE(1835, 27) { word var_c074 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8208)+16)/* var_c6992 */ , (word) &var_c074); }; } static void GetWindowParams_P900(formal_c081, w_v4972) word formal_c081; word w_v4972; { register ptr gf_c8240 = (ptr) &globalframe; word firstScan_v5016; word lastScan_v5044; word firstPixel_v5072; word lastPixel_v5100; /* GetWindowParams: */ SOURCE(1868, 163) SOURCE(2004, 27) { word var_c080 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8240)+16)/* var_c6992 */ , (word) &var_c080); }; } static word MinBufferSize_P960(w_v5160) word w_v5160; { register ptr gf_c8272 = (ptr) &globalframe; word length_v5204; /* MinBufferSize: */ SOURCE(2037, 95) SOURCE(2105, 27) { word var_c084 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8272)+16)/* var_c6992 */ , (word) &var_c084); }; } static word EndOfWindow_P1020(w_v5264) word w_v5264; { register ptr gf_c8304 = (ptr) &globalframe; word var_c5308; /* EndOfWindow: */ SOURCE(2138, 84) SOURCE(2195, 27) { word var_c087 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8304)+16)/* var_c6992 */ , (word) &var_c087); }; } static void UnsafeReadLine_P1080(w_v5368, buffer_v5396, line_v5424) word w_v5368; W2 buffer_v5396; word line_v5424; { register ptr gf_c8336 = (ptr) &globalframe; /* UnsafeReadLine: */ SOURCE(2255, 112) SOURCE(2340, 27) { word var_c091 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8336)+16)/* var_c6992 */ , (word) &var_c091); }; } static void UnsafeWriteLine_P1140(w_v5484, buffer_v5512, line_v5540) word w_v5484; W2 buffer_v5512; word line_v5540; { register ptr gf_c8368 = (ptr) &globalframe; /* UnsafeWriteLine: */ SOURCE(2372, 113) SOURCE(2458, 27) { word var_c095 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8368)+16)/* var_c6992 */ , (word) &var_c095); }; } static word ReadSample_P1200(w_v5600, line_v5628, pixel_v5656) word w_v5600; word line_v5628; word pixel_v5656; { register ptr gf_c8400 = (ptr) &globalframe; word value_v5700; /* ReadSample: */ SOURCE(2491, 114) SOURCE(2578, 27) { word var_c0100 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8400)+16)/* var_c6992 */ , (word) &var_c0100); }; } static void WriteSample_P1260(w_v5760, value_v5788, line_v5816, pixel_v5844) word w_v5760; word value_v5788; word line_v5816; word pixel_v5844; { register ptr gf_c8432 = (ptr) &globalframe; /* WriteSample: */ SOURCE(2610, 106) SOURCE(2689, 27) { word var_c0105 = 3; (void) XR_RaiseError((word) (( (bPt) gf_c8432)+16)/* var_c6992 */ , (word) &var_c0105); }; } /* file: AISStubsImpl, module: AISStubsImpl, compiled at: March 10, 1992 11:57:19 am PST */ extern void XR_install_AISStubsImpl() { NoName_Q1320(); } extern void XR_run_AISStubsImpl() { XR_Start(&globalframe); }