ATLAS Offline Software
Loading...
Searching...
No Matches
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
13extern "C" {
14
15 void* getaddr_(void* arg);
16 void* getaddri_(int* arg);
17
18}
19
20void* 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.
28void* getaddri_(int* arg) {
29
30 return(arg);
31
32}
void * getaddri_(int *arg)
Definition getaddr.cxx:28
void * getaddr_(void *arg)
Definition getaddr.cxx:20