From d54fe7c1f704a63824c5bfa0ece65245572e9b27 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 4 Mar 2015 21:21:30 -0500 Subject: Initial commit --- src/slalib/sun67.htx/node8.html | 85 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 src/slalib/sun67.htx/node8.html (limited to 'src/slalib/sun67.htx/node8.html') diff --git a/src/slalib/sun67.htx/node8.html b/src/slalib/sun67.htx/node8.html new file mode 100644 index 0000000..81261d2 --- /dev/null +++ b/src/slalib/sun67.htx/node8.html @@ -0,0 +1,85 @@ + + + + +C Version + + + + + + + + + + + + +

+ +next + +up + +previous +
+ Next: Future Versions +
+Up: INTRODUCTION +
+ Previous: Fortran Version +

+

+

+C Version +

+An ANSI C version of SLALIB is available from the author +but is not part of the Starlink release. +The functionality of this (proprietary) C version closely matches +that of the Starlink Fortran SLALIB, partly for the convenience of +existing users of the Fortran version, some of whom have in the past +implemented C ``wrappers''. The function names +cannot be the same as the Fortran versions because of potential +linking problems when +both forms of the library are present; the C routine which +is the equivalent of (for example) SLA_REFRO is slaRefro. +The types of arguments follow the Fortran version, except +that integers are int rather than long. +Argument passing is by value +(except for arrays and strings of course) +for given arguments and by pointer for returned arguments. +All the C functions are re-entrant. +

+The Fortran routines sla_GRESID, sla_RANDOM and +sla_WAIT have no C counterparts. +

+Further details of the C version of SLALIB are available +from the author. The definitive guide to +the calling sequences is the file slalib.h. +

+


+ +next + +up + +previous +
+ Next: Future Versions +
+Up: INTRODUCTION +
+ Previous: Fortran Version +

+

+

+SLALIB --- Positional Astronomy Library
Starlink User Note 67
P. T. Wallace
12 October 1999
E-mail:ptw@star.rl.ac.uk
+
+ + -- cgit