/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1992 by Xerox Corporation. All rights reserved. */ /* time: April 21, 1992 12:48:04 pm PDT */ /* C2C version: October 16, 1990 (native) */ /* ref-counting: off */ /* file: X11Hello, module: X11Hello */ /* switches: bcfhklnouw */ #include #include static char versionStamp[] = "@(#)mob_version [270068000,3915101592] X11Hello"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef word (*fPt)(); typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8; typedef struct {W8 f; word r;} W9; typedef W9 *W9Pt; typedef struct {word f0, f1, f2, f3;} W4; typedef W4 *W4Pt; typedef struct {W8 f; W8 r;} W16; typedef struct {W16 f; W4 r;} W20; typedef struct {word f0, f1, f2, f3, f4;} W5; typedef W5 *W5Pt; #define SOURCE(p, l) /* source p, l */ static void NoName_Q120(); static void X11Hello_P0(); static void Hello_P60(); static struct {unsigned f; char r[16];} string1 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"}; static struct {unsigned f; char r[4];} string2 = {65537, "\001\000\000"}; static struct {unsigned f; char r[28];} string3 = {1638428, "Open a hello world widget\000\000"}; static struct {unsigned f; char r[12];} string4 = {655372, "hello PARC\000"}; static struct {unsigned f; char r[20];} string5 = {1179668, "hello world widget\000"}; static struct {unsigned f; char r[12];} string6 = {524300, "X11Hello\000\000\000"}; static struct {unsigned f; char r[16];} string7 = {851984, "\257\300\020\030\351\040\300\351\133\265\230\100\164\000\000"}; static struct {unsigned f; char r[4];} string8 = {196611, "\004G\200"}; static struct {unsigned f; char r[16];} string9 = {851984, "\257\300\373\225\000\071\300\362\156\307\320\100\150\000\000"}; static struct {unsigned f; char r[16];} string10 = {851984, "\257\300\145\202\371\143\300\336\312\353\353\100\150\000\000"}; static struct { word f0[11]; word f11; word f12; word f13; word f14[2]; word f16; word f17; word f18; word f19; word f20; word f21; word f22[2]; word f24; word f25; word f26[2]; word f28; word f29; word f30; word f31; word f32; word f33[2]; } globalframe = { {0}, (word) Hello_P60, 0, (word) X11Hello_P0, {0}, 2147483648, 2147483648, 2147483648, 2147483648, 2147483648, 3, {0}, 4294967295, 4294967295, {0}, 2147483648, 2147483648, 2147483648, 2147483648, 2147483648, {0} }; static void NoName_Q120() { register ptr gf_c020 = (ptr) &globalframe; word var_c8876; (* (( (ptr) gf_c020)+5) ) = (word) XR_GetTypeIndex((word) &string1, 0, (word) &string2); (* (ptr) (( (bPt) gf_c020)+28) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c020)+5) ), (word) &string3); (* (ptr) (( (bPt) gf_c020)+32) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c020)+5) ), (word) &string4); (* (ptr) (( (bPt) gf_c020)+36) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c020)+5) ), (word) &string5); (* (ptr) (( (bPt) gf_c020)+40) ) = (word) XR_GetRefLiteral((* (( (ptr) gf_c020)+5) ), (word) &string6); (void) XR_DeclareGlobalFrame((word) "X11Hello", &globalframe, (word) XR_GetTypeIndex((word) &string7, 0, (word) &string8) , (word) (( (bPt) gf_c020)+52)/* var_c8588 */ ); var_c8876 = (word) XR_ImportInterface((word) "Commander", (word) XR_GetTypeIndexS((word) (&string9)), 3); (* (( (ptr) gf_c020)+33)/* var_c8812 */ ) = var_c8876; (void) XR_ImportProcS(var_c8876, 1310725); var_c8876 = (word) XR_ImportInterface((word) "XTkWidgets", (word) XR_GetTypeIndexS((word) (&string10)), 52); (* (( (ptr) gf_c020)+34)/* var_c8844 */ ) = var_c8876; (void) XR_ImportProcS(var_c8876, 2099460); (void) XR_ImportProcS(var_c8876, 72352268); (void) XR_ImportProcS(var_c8876, 70786819); } static void X11Hello_P0(formal_c012, formal_c011) word formal_c012; word formal_c011; { register ptr gf_c8908 = (ptr) &globalframe; /* X11Hello: */ SOURCE(35, 396) /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ SOURCE(365, 66) { word pd11; pd11 = (* (( (ptr) (* (( (ptr) gf_c8908)+33)/* var_c8812 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd11 ))))((* (( (ptr) gf_c8908)+10) ), (word) (( (bPt) gf_c8908)+44)/* var_c8556 */ , (* (( (ptr) gf_c8908)+7) ), 0, 1, pd11); }; } static void Hello_P60(formal_c019, cmd_v3136) word formal_c019; word cmd_v3136; { register ptr gf_c8940 = (ptr) &globalframe; word result_v3180; word msg_v3208; word label_v2544; word shell_v2572; /* Hello: */ SOURCE(99, 260) SOURCE(99, 260) result_v3180 = 0; SOURCE(99, 260) msg_v3208 = 0; SOURCE(132, 69) { word pd12; pd12 = (* (( (ptr) (* (( (ptr) gf_c8940)+34)/* var_c8844 */ ))+35) ); label_v2544 = (word) ( *( (fPt) ((* (ptr) pd12 ))))((* (W9Pt) (( (ptr) gf_c8940)+15)/* var_c8652 */ ), (* (( (ptr) gf_c8940)+8) ), (* (W4Pt) (( (ptr) gf_c8940)+24)/* var_c8716 */ ), pd12); }; SOURCE(203, 124) { W20 var_c018; (* (W9Pt) (word) &var_c018 ) = (* (W9Pt) (( (ptr) gf_c8940)+15)/* var_c8652 */ ); (* (( (ptr) (word) &var_c018) + 9) ) = label_v2544; (* (( (ptr) (word) &var_c018) + 10) ) = (* (( (ptr) gf_c8940)+9) ); (* (( (ptr) (word) &var_c018) + 11) ) = 0; (* (( (ptr) (word) &var_c018) + 12) ) = 0; (* (( (ptr) (word) &var_c018) + 13) ) = 0; (* (( (ptr) (word) &var_c018) + 14) ) = 0; (* (( (ptr) (word) &var_c018) + 15) ) = 0; (* (( (ptr) (word) &var_c018) + 16) ) = 0; (* (( (ptr) (word) &var_c018) + 17) ) = 1; (* (( (ptr) (word) &var_c018) + 18) ) = 1; (* (( (ptr) (word) &var_c018) + 19) ) = 1; { word pd13; pd13 = (* (( (ptr) (* (( (ptr) gf_c8940)+34)/* var_c8844 */ ))+6) ); shell_v2572 = (word) ( *( (fPt) ((* (ptr) pd13 ))))((word) (&var_c018), pd13); }; }; SOURCE(329, 30) { word pd14; pd14 = (* (( (ptr) (* (( (ptr) gf_c8940)+34)/* var_c8844 */ ))+13) ); (void) ( *( (fPt) ((* (ptr) pd14 ))))(shell_v2572, (* (W5Pt) (( (ptr) gf_c8940)+28)/* var_c8780 */ ), 0, 1, pd14); }; /* removed tail goto */ (* (ptr) formal_c019 ) = result_v3180; (* (( (ptr) formal_c019)+1) ) = msg_v3208; return; } /* file: X11Hello, module: X11Hello, compiled at: April 21, 1992 12:48:04 pm PDT */ extern void XR_install_X11Hello() { NoName_Q120(); } extern void XR_run_X11Hello() { XR_Start(&globalframe); }