Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

jumptn.c

Go to the documentation of this file.
00001 /*
00002  * $Id: jumptn.c,v 1.2 2009/02/16 08:04:38 schubert Exp $
00003  *
00004  * Revision 1.1.1.1  2002/06/16 15:18:46  hristov
00005  * Separate distribution  of Geant3
00006  *
00007  * Revision 1.1.1.1  1999/05/18 15:55:28  fca
00008  * AliRoot sources
00009  *
00010  * Revision 1.3  1997/10/23 16:25:10  mclareni
00011  * NT mods, mostly C Fortran interface
00012  *
00013  * Revision 1.2  1997/02/04 17:34:23  mclareni
00014  * Merge Winnt and 97a versions
00015  *
00016  * Revision 1.1.1.1.2.1  1997/01/21 11:29:31  mclareni
00017  * All mods for Winnt 96a on winnt branch
00018  *
00019  * Revision 1.1.1.1  1996/02/15 17:49:24  mclareni
00020  * Kernlib
00021  *
00022  */
00023 #include "kerngen/pilot.h"
00024 
00025 #if defined(CERNLIB_QMVAOS)
00026 #include "vaogs/jumptn.c"
00027 #else
00028 /*>    ROUTINE JUMPTN
00029   CERN PROGLIB# Z043    JUMPTN          .VERSION KERNFOR  4.40  940929
00030   ORIG. 21/04/88 JZ+FCA
00031 C
00032 C-    To transfer to the user routine TARGET (say) with 2 parameters
00033 C-    two steps are needed :
00034 
00035 C- 1) EXTERNAL TARGET              to get the address of TARGET
00036 C-    IADR = JUMPAD (TARGET)
00037 
00038 C- 3) CALL JUMPT2 (IADR,par1,par2)      to transfer
00039 */
00040 #if defined(CERNLIB_QCCINDAD)
00041 #define IADR *iadr
00042 #endif
00043 #if !defined(CERNLIB_QCCINDAD)
00044 #define IADR iadr
00045 #endif
00046 #if defined(CERNLIB_QX_SC)
00047 #define jumpt0 type_of_call jumpt0_
00048 #define jumpt1 type_of_call jumpt1_
00049 #define jumpt2 type_of_call jumpt2_
00050 #define jumpt3 type_of_call jumpt3_
00051 #define jumpt4 type_of_call jumpt4_
00052 #define jumpt5 type_of_call jumpt5_
00053 #define jumpt6 type_of_call jumpt6_
00054 #define jumpt7 type_of_call jumpt7_
00055 #define jumpt8 type_of_call jumpt8_
00056 #define jumpt9 type_of_call jumpt9_
00057 #endif
00058 #if defined(CERNLIB_QXCAPT)
00059 #define jumpt0 type_of_call JUMPT0
00060 #define jumpt1 type_of_call JUMPT1
00061 #define jumpt2 type_of_call JUMPT2
00062 #define jumpt3 type_of_call JUMPT3
00063 #define jumpt4 type_of_call JUMPT4
00064 #define jumpt5 type_of_call JUMPT5
00065 #define jumpt6 type_of_call JUMPT6
00066 #define jumpt7 type_of_call JUMPT7
00067 #define jumpt8 type_of_call JUMPT8
00068 #define jumpt9 type_of_call JUMPT9
00069 #endif
00070 void jumpt0(iadr)
00071      void (type_of_call **IADR)();
00072 {
00073     (**IADR)();
00074     return;
00075 }
00076 
00077 void jumpt1(iadr,ixa)
00078      void (type_of_call **IADR)();
00079      char *ixa;
00080 {
00081     (**IADR)(ixa);
00082     return;
00083 }
00084 
00085 void jumpt2(iadr, ixa, ixb)
00086      void (type_of_call **IADR)();
00087      char *ixa, *ixb;
00088 {
00089     (**IADR)(ixa, ixb);
00090     return;
00091 }
00092 void jumpt3(iadr, ixa, ixb, ixc)
00093      void (type_of_call **IADR)();
00094      char *ixa, *ixb, *ixc;
00095 {
00096     (**IADR)(ixa, ixb, ixc);
00097     return;
00098 }
00099 void jumpt4(iadr, ixa, ixb, ixc, ixd)
00100      void (type_of_call **IADR)();
00101      char *ixa, *ixb, *ixc, *ixd;
00102 {
00103     (**IADR)(ixa, ixb, ixc, ixd);
00104     return;
00105 }
00106 void jumpt5(iadr, ixa, ixb, ixc, ixd, ixe)
00107      void (type_of_call **IADR)();
00108      char *ixa, *ixb, *ixc, *ixd, *ixe;
00109 {
00110     (**IADR)(ixa, ixb, ixc, ixd, ixe);
00111     return;
00112 }
00113 void jumpt6(iadr, ixa, ixb, ixc, ixd, ixe, ixf)
00114      void (type_of_call **IADR)();
00115      char *ixa, *ixb, *ixc, *ixd, *ixe, *ixf;
00116 {
00117     (**IADR)(ixa, ixb, ixc, ixd, ixe, ixf);
00118     return;
00119 }
00120 void jumpt7(iadr, ixa, ixb, ixc, ixd, ixe, ixf, ixg)
00121      void (type_of_call **IADR)();
00122      char *ixa, *ixb, *ixc, *ixd, *ixe, *ixf, *ixg;
00123 {
00124     (**IADR)(ixa, ixb, ixc, ixd, ixe, ixf, ixg);
00125     return;
00126 }
00127 void jumpt8(iadr, ixa, ixb, ixc, ixd, ixe, ixf, ixg, ixh)
00128      void (type_of_call **IADR)();
00129      char *ixa, *ixb, *ixc, *ixd, *ixe, *ixf, *ixg, *ixh;
00130 {
00131     (**IADR)(ixa, ixb, ixc, ixd, ixe, ixf, ixg, ixh);
00132     return;
00133 }
00134 void jumpt9(iadr, ixa, ixb, ixc, ixd, ixe, ixf, ixg, ixh, ixi)
00135      void (type_of_call **IADR)();
00136      char *ixa, *ixb, *ixc, *ixd, *ixe, *ixf, *ixg, *ixh, *ixi;
00137 {
00138     (**IADR)(ixa, ixb, ixc, ixd, ixe, ixf, ixg, ixh, ixi);
00139     return;
00140 }
00141 /*> END <----------------------------------------------------------*/
00142 #endif

Generated on Sat Mar 14 22:40:14 2009 for loon by doxygen 1.3.5