This is ClockViewWraps.c in view mode; [Download] [Up]
/* ClockViewWraps.c generated from ClockViewWraps.psw by unix pswrap V1.009 Wed Apr 19 17:50:24 PDT 1989 */ #include <dpsclient/dpsfriends.h> #include <string.h> #line 1 "ClockViewWraps.psw" /* * (a) (C) 1990 by Adobe Systems Incorporated. All rights reserved. * * (b) If this Sample Code is distributed as part of the Display PostScript * System Software Development Kit from Adobe Systems Incorporated, * then this copy is designated as Development Software and its use is * subject to the terms of the License Agreement attached to such Kit. * * (c) If this Sample Code is distributed independently, then the following * terms apply: * * (d) This file may be freely copied and redistributed as long as: * 1) Parts (a), (d), (e) and (f) continue to be included in the file, * 2) If the file has been modified in any way, a notice of such * modification is conspicuously indicated. * * (e) PostScript, Display PostScript, and Adobe are registered trademarks of * Adobe Systems Incorporated. * * (f) THE INFORMATION BELOW IS FURNISHED AS IS, IS SUBJECT TO * CHANGE WITHOUT NOTICE, AND SHOULD NOT BE CONSTRUED * AS A COMMITMENT BY ADOBE SYSTEMS INCORPORATED. * ADOBE SYSTEMS INCORPORATED ASSUMES NO RESPONSIBILITY * OR LIABILITY FOR ANY ERRORS OR INACCURACIES, MAKES NO * WARRANTY OF ANY KIND (EXPRESS, IMPLIED OR STATUTORY) * WITH RESPECT TO THIS INFORMATION, AND EXPRESSLY * DISCLAIMS ANY AND ALL WARRANTIES OF MERCHANTABILITY, * FITNESS FOR PARTICULAR PURPOSES AND NONINFRINGEMENT * OF THIRD PARTY RIGHTS. */ /* * ClockViewWraps.psw * * Version: 2.0 * Author: Ken Fromm * History: * 03-07-91 Added this comment. */ /* StartTime is stored in the interpreter and contains the initial real time */ #line 52 "ClockViewWraps.c" void PSWMarkTime( void ) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjGeneric obj0; DPSBinObjGeneric obj1; DPSBinObjGeneric obj2; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 3, 28, {DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* StartTime */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 328}, /* realtime */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; static long int _dpsCodes[1] = {-1}; { if (_dpsCodes[0] < 0) { static const char * const _dps_names[] = { "StartTime"}; long int *_dps_nameVals[1]; _dps_nameVals[0] = &_dpsCodes[0]; DPSMapNames(_dpsCurCtxt, 1, _dps_names, _dps_nameVals); } } _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[0].val.nameVal = _dpsCodes[0]; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,28); } #line 45 "ClockViewWraps.psw" /* The difference between the current real time and the initial time stored */ /* in StartTime is returned to the calling procedure in the output arg ElapsedTime. */ #line 95 "ClockViewWraps.c" void PSWReturnTime(int *ElapsedTime) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjGeneric obj0; DPSBinObjGeneric obj1; DPSBinObjGeneric obj2; DPSBinObjGeneric obj3; DPSBinObjGeneric obj4; DPSBinObjGeneric obj5; DPSBinObjGeneric obj6; DPSBinObjGeneric obj7; DPSBinObjGeneric obj8; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 9, 76, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 328}, /* realtime */ {DPS_EXEC|DPS_NAME, 0, 0, 0}, /* StartTime */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169}, /* sub */ {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 119}, /* printobject */ {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_LITERAL|DPS_INT, 0, 0, 1}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 119}, /* printobject */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 70}, /* flush */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; static long int _dpsCodes[1] = {-1}; DPSResultsRec _dpsR[1]; static const DPSResultsRec _dpsRstat[] = { { dps_tInt, -1 }, }; _dpsR[0] = _dpsRstat[0]; _dpsR[0].value = (char *)ElapsedTime; { if (_dpsCodes[0] < 0) { static const char * const _dps_names[] = { "StartTime"}; long int *_dps_nameVals[1]; _dps_nameVals[0] = &_dpsCodes[0]; DPSMapNames(_dpsCurCtxt, 1, _dps_names, _dps_nameVals); } } _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[1].val.nameVal = _dpsCodes[0]; DPSSetResultTable(_dpsCurCtxt, _dpsR, 1); DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,76); DPSAwaitReturnValues(_dpsCurCtxt); } #line 52 "ClockViewWraps.psw" #line 156 "ClockViewWraps.c" void PSWEraseView(float BGColor, float X, float Y, float W, float H) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjReal obj0; DPSBinObjGeneric obj1; DPSBinObjReal obj2; DPSBinObjReal obj3; DPSBinObjReal obj4; DPSBinObjReal obj5; DPSBinObjGeneric obj6; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 7, 60, {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: BGColor */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: X */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: Y */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: W */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: H */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 128}, /* rectfill */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[0].val.realVal = BGColor; _dpsP[2].val.realVal = X; _dpsP[3].val.realVal = Y; _dpsP[4].val.realVal = W; _dpsP[5].val.realVal = H; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,60); } #line 56 "ClockViewWraps.psw" #line 196 "ClockViewWraps.c" void PSWMakeCircle(float X, float Y, float Rad) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjReal obj0; DPSBinObjReal obj1; DPSBinObjGeneric obj2; DPSBinObjReal obj3; DPSBinObjGeneric obj4; DPSBinObjReal obj5; DPSBinObjReal obj6; DPSBinObjReal obj7; DPSBinObjGeneric obj8; DPSBinObjGeneric obj9; DPSBinObjGeneric obj10; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 11, 92, {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: X */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: Rad */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1}, /* add */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: Y */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: X */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: Y */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: Rad */ {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_LITERAL|DPS_INT, 0, 0, 360}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 5}, /* arc */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[0].val.realVal = _dpsP[5].val.realVal = X; _dpsP[3].val.realVal = _dpsP[6].val.realVal = Y; _dpsP[1].val.realVal = _dpsP[7].val.realVal = Rad; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,92); } #line 60 "ClockViewWraps.psw" #line 245 "ClockViewWraps.c" void PSWFillPath(float Color) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjReal obj0; DPSBinObjGeneric obj1; DPSBinObjGeneric obj2; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 3, 28, {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: Color */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 66}, /* fill */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[0].val.realVal = Color; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,28); } #line 64 "ClockViewWraps.psw" #line 273 "ClockViewWraps.c" void PSWSetUpath(float Pts[], int Tot_Pts, char Ops[], int Tot_Ops) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjGeneric obj0; DPSBinObjGeneric obj1; DPSBinObjGeneric obj2; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 1, 28, {DPS_LITERAL|DPS_ARRAY, 0, 2, 8}, {DPS_LITERAL|DPS_ARRAY, 0, 0, 24}, /* param[var]: Pts */ {DPS_LITERAL|DPS_STRING, 0, 0, 24}, /* param Ops */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; register int _dps_offset = 24; _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[1].length = Tot_Pts; _dpsP[2].length = Tot_Ops; _dpsP[1].val.arrayVal = _dps_offset; _dps_offset += Tot_Pts * sizeof(DPSBinObjGeneric); _dpsP[2].val.stringVal = _dps_offset; _dps_offset += (Tot_Ops + 3) & ~3; _dpsF.nBytes = _dps_offset+4; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,28); DPSWriteTypedObjectArray(_dpsCurCtxt, dps_tFloat, (char *)Pts, Tot_Pts); DPSWriteStringChars(_dpsCurCtxt, (char *)Ops, Tot_Ops); DPSWriteStringChars(_dpsCurCtxt, (char *)_dpsCurCtxt, ~(Tot_Ops + 3) & 3); } #line 69 "ClockViewWraps.psw" #line 312 "ClockViewWraps.c" void PSWSetGstate(float X, float Y, float Gray, float Linewidth) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjGeneric obj0; DPSBinObjReal obj1; DPSBinObjReal obj2; DPSBinObjGeneric obj3; DPSBinObjReal obj4; DPSBinObjGeneric obj5; DPSBinObjReal obj6; DPSBinObjGeneric obj7; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 8, 68, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111}, /* newpath */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: X */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: Y */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: Gray */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: Linewidth */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 155}, /* setlinewidth */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[1].val.realVal = X; _dpsP[2].val.realVal = Y; _dpsP[4].val.realVal = Gray; _dpsP[6].val.realVal = Linewidth; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,68); } #line 73 "ClockViewWraps.psw" #line 353 "ClockViewWraps.c" void PSWInstallGstate(int GState, float Angle) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjGeneric obj0; DPSBinObjGeneric obj1; DPSBinObjGeneric obj2; DPSBinObjReal obj3; DPSBinObjGeneric obj4; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 5, 44, {DPS_LITERAL|DPS_INT, 0, 0, 0}, /* param: GState */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 212}, /* execuserobject */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 151}, /* setgstate */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: Angle */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 136}, /* rotate */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[0].val.integerVal = GState; _dpsP[3].val.realVal = Angle; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,44); } #line 78 "ClockViewWraps.psw" #line 386 "ClockViewWraps.c" void PSWUpathStrokeFill(int UPath) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjGeneric obj0; DPSBinObjGeneric obj1; DPSBinObjGeneric obj2; DPSBinObjGeneric obj3; DPSBinObjGeneric obj4; DPSBinObjReal obj5; DPSBinObjGeneric obj6; DPSBinObjGeneric obj7; DPSBinObjGeneric obj8; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 9, 76, {DPS_LITERAL|DPS_INT, 0, 0, 0}, /* param: UPath */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 212}, /* execuserobject */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 56}, /* dup */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 183}, /* ustroke */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 33}, /* currentgray */ {DPS_LITERAL|DPS_REAL, 0, 0, 0.2}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1}, /* add */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 179}, /* ufill */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[0].val.integerVal = UPath; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,76); } #line 84 "ClockViewWraps.psw" #line 426 "ClockViewWraps.c" void PSWUpathFill(int UPath) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjGeneric obj0; DPSBinObjGeneric obj1; DPSBinObjGeneric obj2; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 3, 28, {DPS_LITERAL|DPS_INT, 0, 0, 0}, /* param: UPath */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 212}, /* execuserobject */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 179}, /* ufill */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[0].val.integerVal = UPath; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,28); } #line 88 "ClockViewWraps.psw" #line 454 "ClockViewWraps.c" void PSWDrawCircle(float Color) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjReal obj0; DPSBinObjGeneric obj1; DPSBinObjGeneric obj2; DPSBinObjGeneric obj3; DPSBinObjGeneric obj4; DPSBinObjGeneric obj5; DPSBinObjGeneric obj6; DPSBinObjGeneric obj7; DPSBinObjGeneric obj8; DPSBinObjGeneric obj9; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 10, 84, {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: Color */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111}, /* newpath */ {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_LITERAL|DPS_INT, 0, 0, 10}, {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_LITERAL|DPS_INT, 0, 0, 360}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 5}, /* arc */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 167}, /* stroke */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[0].val.realVal = Color; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,84); } #line 93 "ClockViewWraps.psw" #line 496 "ClockViewWraps.c" void PSWHitPath(int UPath1, int UPath2, float HPts[], int Tot_HPts, char HOps[], int Tot_HOps, int *Hit) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjGeneric obj0; DPSBinObjGeneric obj1; DPSBinObjGeneric obj2; DPSBinObjGeneric obj3; DPSBinObjGeneric obj4; DPSBinObjGeneric obj5; DPSBinObjGeneric obj6; DPSBinObjGeneric obj7; DPSBinObjGeneric obj8; DPSBinObjGeneric obj9; DPSBinObjGeneric obj10; DPSBinObjGeneric obj11; DPSBinObjGeneric obj12; DPSBinObjGeneric obj13; DPSBinObjGeneric obj14; DPSBinObjGeneric obj15; DPSBinObjGeneric obj16; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 15, 140, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111}, /* newpath */ {DPS_LITERAL|DPS_INT, 0, 0, 0}, /* param: UPath1 */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 212}, /* execuserobject */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 176}, /* uappend */ {DPS_LITERAL|DPS_INT, 0, 0, 0}, /* param: UPath2 */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 212}, /* execuserobject */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 176}, /* uappend */ {DPS_LITERAL|DPS_ARRAY, 0, 2, 120}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 90}, /* infill */ {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 119}, /* printobject */ {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_LITERAL|DPS_INT, 0, 0, 1}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 119}, /* printobject */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 70}, /* flush */ {DPS_LITERAL|DPS_ARRAY, 0, 0, 136}, /* param[var]: HPts */ {DPS_LITERAL|DPS_STRING, 0, 0, 136}, /* param HOps */ }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; register int _dps_offset = 136; DPSResultsRec _dpsR[1]; static const DPSResultsRec _dpsRstat[] = { { dps_tBoolean, -1 }, }; _dpsR[0] = _dpsRstat[0]; _dpsR[0].value = (char *)Hit; _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[1].val.integerVal = UPath1; _dpsP[4].val.integerVal = UPath2; _dpsP[15].length = Tot_HPts; _dpsP[16].length = Tot_HOps; _dpsP[15].val.arrayVal = _dps_offset; _dps_offset += Tot_HPts * sizeof(DPSBinObjGeneric); _dpsP[16].val.stringVal = _dps_offset; _dps_offset += (Tot_HOps + 3) & ~3; _dpsF.nBytes = _dps_offset+4; DPSSetResultTable(_dpsCurCtxt, _dpsR, 1); DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,140); DPSWriteTypedObjectArray(_dpsCurCtxt, dps_tFloat, (char *)HPts, Tot_HPts); DPSWriteStringChars(_dpsCurCtxt, (char *)HOps, Tot_HOps); DPSWriteStringChars(_dpsCurCtxt, (char *)_dpsCurCtxt, ~(Tot_HOps + 3) & 3); DPSAwaitReturnValues(_dpsCurCtxt); } #line 98 "ClockViewWraps.psw"
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.