Don't use fname to define functions
[maxima.git] / src / numerical / slatec / xgetua.lisp
blobb455e1f17cb589306bee093f0a061546dd2cd7e9
1 ;;; Compiled by f2cl version:
2 ;;; ("f2cl1.l,v 46c1f6a93b0d 2012/05/03 04:40:28 toy $"
3 ;;; "f2cl2.l,v 96616d88fb7e 2008/02/22 22:19:34 rtoy $"
4 ;;; "f2cl3.l,v 96616d88fb7e 2008/02/22 22:19:34 rtoy $"
5 ;;; "f2cl4.l,v 96616d88fb7e 2008/02/22 22:19:34 rtoy $"
6 ;;; "f2cl5.l,v 46c1f6a93b0d 2012/05/03 04:40:28 toy $"
7 ;;; "f2cl6.l,v 1d5cbacbb977 2008/08/24 00:56:27 rtoy $"
8 ;;; "macros.l,v fceac530ef0c 2011/11/26 04:02:26 toy $")
10 ;;; Using Lisp CMU Common Lisp snapshot-2012-04 (20C Unicode)
11 ;;;
12 ;;; Options: ((:prune-labels nil) (:auto-save t) (:relaxed-array-decls t)
13 ;;; (:coerce-assigns :as-needed) (:array-type ':simple-array)
14 ;;; (:array-slicing nil) (:declare-common nil)
15 ;;; (:float-format double-float))
17 (in-package :slatec)
20 (defun xgetua (iunita n)
21 (declare (type (f2cl-lib:integer4) n)
22 (type (simple-array f2cl-lib:integer4 (*)) iunita))
23 (prog ((index$ 0) (i 0))
24 (declare (type (f2cl-lib:integer4) i index$))
25 (setf n (j4save 5 0 f2cl-lib:%false%))
26 (f2cl-lib:fdo (i 1 (f2cl-lib:int-add i 1))
27 ((> i n) nil)
28 (tagbody
29 (setf index$ (f2cl-lib:int-add i 4))
30 (if (= i 1) (setf index$ 3))
31 (setf (f2cl-lib:fref iunita (i) ((1 5)))
32 (j4save index$ 0 f2cl-lib:%false%))
33 label30))
34 (go end_label)
35 end_label
36 (return (values nil n))))
38 (in-package #:cl-user)
39 #+#.(cl:if (cl:find-package '#:f2cl) '(and) '(or))
40 (eval-when (:load-toplevel :compile-toplevel :execute)
41 (setf (gethash 'fortran-to-lisp::xgetua
42 fortran-to-lisp::*f2cl-function-info*)
43 (fortran-to-lisp::make-f2cl-finfo
44 :arg-types '((simple-array fortran-to-lisp::integer4 (*))
45 (fortran-to-lisp::integer4))
46 :return-values '(nil fortran-to-lisp::n)
47 :calls '(fortran-to-lisp::j4save))))