ATLAS Offline Software
Generators
GeneratorFortranCommon
src
getaddr.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// Routine meant to be called from FORTRAN which simply returns the
7
// address of the (FORTRAN) argument. This should be 64bit-safe.
8
//
9
// 1999/01/08 Chris Green (Purdue University)
10
// 1999/04/29 CG * altered to use void* from long*
12
13
extern
"C"
{
14
15
void
*
getaddr_
(
void
*
arg
);
16
void
*
getaddri_
(
int
*
arg
);
17
18
}
19
20
void
*
getaddr_
(
void
*
arg
) {
21
22
return
(
arg
);
23
24
}
25
26
// Version to be used with integer arguments, to prevent LTO warnings
27
// about inconsistent parameter types.
28
void
*
getaddri_
(
int
*
arg
) {
29
30
return
(
arg
);
31
32
}
getaddr_
void * getaddr_(void *arg)
Definition:
getaddr.cxx:20
create_dcsc_inputs_sqlite.arg
list arg
Definition:
create_dcsc_inputs_sqlite.py:48
getaddri_
void * getaddri_(int *arg)
Definition:
getaddr.cxx:28
Generated on Wed Jan 22 2025 21:10:48 for ATLAS Offline Software by
1.8.18