home *** CD-ROM | disk | FTP | other *** search
- /* This code is generated by pOt. */
-
- #include <pOtRTL.h>
- #include "CLib.h"
- #include "DDEUtils.h"
-
- #include "hi.Throwback"
-
-
-
- static pOt_BOOLEAN pOt_noerrors_Throwback, pOt_started_Throwback;
-
- static struct {void *next, *vars[0x1];} pOt__gc_ptrs = {pOt_NIL,{
- pOt_NIL
- }};
- static struct {void *next, *vars[0x1];} pOt__gc_strs = {&pOt__gc_ptrs,{
- pOt_NIL
- }};
-
-
-
-
- extern void pOt_Start_Throwback()
- {
- struct pOt__tag_1_CLib pOt_regs;
- struct {void*next;} pOt__gc_ptrs;
- pOt__gc_ptrs.next = pOt__gc_root;
- pOt__init_var((pOt__TypDsc**)&pOt_regs,(pOt__TypDsc*)&pOt__td_1_CLib);
-
- pOt_noerrors_Throwback=(pOt_BOOLEAN)1;
- pOt_started_Throwback=(pOt_BOOLEAN)0;
-
- pOt__Epilogue:;
- pOt__gc_root=(struct pOt__tag_gc_node*)pOt__gc_ptrs.next;
- }
-
-
-
-
- extern void pOt_SendError_Throwback
- #if pOt__ANSI_C
- (pOt__DynArr *pOt_FName, pOt_LONGINT pOt_lineno, pOt_LONGINT pOt_severety, pOt__DynArr *pOt_Desc)
- #else
- (pOt_FName, pOt_lineno, pOt_severety, pOt_Desc)
- pOt__DynArr *pOt_FName;
- pOt_LONGINT pOt_lineno, pOt_severety;
- pOt__DynArr *pOt_Desc;
-
- #endif
- {
- pOt_LONGINT pOt_i;
- struct pOt__tag_1_CLib pOt_regs;
- struct {void*next;} pOt__gc_ptrs;
- pOt__gc_ptrs.next = pOt__gc_root;
- pOt__init_var((pOt__TypDsc**)&pOt_regs,(pOt__TypDsc*)&pOt__td_1_CLib);
-
- if(pOt_noerrors_Throwback) {
- pOt_noerrors_Throwback=(pOt_BOOLEAN)0;
- pOt_started_Throwback=(KernelSwi((pOt_LONGINT)(271751L),(pOt_LONGINT)(((pOt_LONGINT)&pOt_regs+sizeof(pOt__TypDsc*))),(pOt_LONGINT)(((pOt_LONGINT)&pOt_regs+sizeof(pOt__TypDsc*))))==((pOt_LONGINT)(0)));
- if(pOt_started_Throwback) {
- pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 0)]=(pOt_LONGINT)(0);
- pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 2)]=(pOt_LONGINT)(((pOt_LONGINT)&(*((pOt_CHAR*)(((char *)pOt_FName+sizeof(pOt__ArrTypDsc*)+sizeof(pOt_CHAR)*pOt__inxchk(__FILE__,__LINE__,(*(pOt_FName))->nofel,0)))))));
- pOt_i=(pOt_LONGINT)(KernelSwi((pOt_LONGINT)(271752L),(pOt_LONGINT)(((pOt_LONGINT)&pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 0)])),(pOt_LONGINT)(((pOt_LONGINT)&pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 0)]))));
- }
- }
- if(pOt_started_Throwback) {
- pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 0)]=(pOt_LONGINT)(1);
- pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 2)]=(pOt_LONGINT)(((pOt_LONGINT)&(*((pOt_CHAR*)(((char *)pOt_FName+sizeof(pOt__ArrTypDsc*)+sizeof(pOt_CHAR)*pOt__inxchk(__FILE__,__LINE__,(*(pOt_FName))->nofel,0)))))));
- pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 3)]=(pOt_LONGINT)(pOt_lineno);
- pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 4)]=(pOt_LONGINT)(pOt_severety);
- pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 5)]=(pOt_LONGINT)(((pOt_LONGINT)&(*((pOt_CHAR*)(((char *)pOt_Desc+sizeof(pOt__ArrTypDsc*)+sizeof(pOt_CHAR)*pOt__inxchk(__FILE__,__LINE__,(*(pOt_Desc))->nofel,0)))))));
- pOt_i=(pOt_LONGINT)(KernelSwi((pOt_LONGINT)(271752L),(pOt_LONGINT)(((pOt_LONGINT)&pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 0)])),(pOt_LONGINT)(((pOt_LONGINT)&pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 0)]))));
- }
-
- pOt__Epilogue:;
- pOt__gc_root=(struct pOt__tag_gc_node*)pOt__gc_ptrs.next;
- pOt__rm_par((pOt__TypDsc**)pOt_FName);
- pOt__rm_par((pOt__TypDsc**)pOt_Desc);
- }
-
-
-
-
- extern void pOt_End_Throwback()
- {
- pOt_LONGINT pOt_i;
- struct pOt__tag_1_CLib pOt_regs;
- struct {void*next;} pOt__gc_ptrs;
- pOt__gc_ptrs.next = pOt__gc_root;
- pOt__init_var((pOt__TypDsc**)&pOt_regs,(pOt__TypDsc*)&pOt__td_1_CLib);
-
- pOt_noerrors_Throwback=(pOt_BOOLEAN)1;
- pOt_started_Throwback=(pOt_BOOLEAN)0;
- pOt_i=(pOt_LONGINT)(KernelSwi((pOt_LONGINT)(271753L),(pOt_LONGINT)(((pOt_LONGINT)&pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 0)])),(pOt_LONGINT)(((pOt_LONGINT)&pOt_regs.pOt_r.arr[pOt__inxchk(__FILE__,__LINE__,0xA, 0)]))));
-
- pOt__Epilogue:;
- pOt__gc_root=(struct pOt__tag_gc_node*)pOt__gc_ptrs.next;
- }
-
- void pOt_Throwback__body()
- {
- static int pOt_Throwback__loaded=0;
- if(!pOt_Throwback__loaded){
- pOt_Throwback__loaded=1;
-
- pOt_CLib__body();
- pOt_DDEUtils__body();
-
- pOt__gc_ptrs.next=pOt__gc_root;
- pOt__gc_root=(struct pOt__tag_gc_node*)&pOt__gc_strs;
-
-
- pOt_noerrors_Throwback=(pOt_BOOLEAN)1;
- pOt_started_Throwback=(pOt_BOOLEAN)0;
-
- pOt__Epilogue:;
- }
- }
-