1 /* -- translated by f2c (version 20100827).
2 You must link the resulting object file with libf2c:
3 on Microsoft Windows system, link with libf2c.lib;
4 on Linux or Unix systems, link with .../path/to/libf2c.a -lm
5 or, if you install libf2c.a in a standard place, with -lf2c -lm
6 -- in that order, at the end of the command line, as in
7 cc *.o -lf2c -lm
8 Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
9
10 http://www.netlib.org/f2c/libf2c.zip
11 */
12
13 #include "libtinyf2c.h"
14
15 /* ----------------------------------------------------------------------- */
16 /* Copyright (C) 2000-2004 GFD Dennou Club. All rights reserved. */
17 /* ----------------------------------------------------------------------- */
sglnzv_(real * vx1,real * vy1,real * vx2,real * vy2,integer * index)18 /* Subroutine */ int sglnzv_(real *vx1, real *vy1, real *vx2, real *vy2,
19 integer *index)
20 {
21 extern /* Subroutine */ int msgdmp_(char *, char *, char *, ftnlen,
22 ftnlen, ftnlen), szlncl_(void), szlnop_(integer *), szlnzv_(real *
23 , real *, real *, real *);
24
25 if (*index == 0) {
26 msgdmp_("M", "SGLNZV", "LINE INDEX IS 0 / DO NOTHING.", (ftnlen)1, (
27 ftnlen)6, (ftnlen)29);
28 return 0;
29 }
30 if (*index < 0) {
31 msgdmp_("E", "SGLNZV", "LINE INDEX IS LESS THAN 0.", (ftnlen)1, (
32 ftnlen)6, (ftnlen)26);
33 }
34 szlnop_(index);
35 szlnzv_(vx1, vy1, vx2, vy2);
36 szlncl_();
37 return 0;
38 } /* sglnzv_ */
39
40