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 /* ----------------------------------------------------------------------- */
sglnzr_(real * rx1,real * ry1,real * rx2,real * ry2,integer * index)18 /* Subroutine */ int sglnzr_(real *rx1, real *ry1, real *rx2, real *ry2,
19 	integer *index)
20 {
21     extern /* Subroutine */ int msgdmp_(char *, char *, char *, ftnlen,
22 	    ftnlen, ftnlen), szlncl_(void), szlnop_(integer *), szlnzr_(real *
23 	    , real *, real *, real *);
24 
25     if (*index == 0) {
26 	msgdmp_("M", "SGLNZR", "LINE INDEX IS 0 / DO NOTHING.", (ftnlen)1, (
27 		ftnlen)6, (ftnlen)29);
28 	return 0;
29     }
30     if (*index < 0) {
31 	msgdmp_("E", "SGLNZR", "LINE INDEX IS LESS THAN 0.", (ftnlen)1, (
32 		ftnlen)6, (ftnlen)26);
33     }
34     szlnop_(index);
35     szlnzr_(rx1, ry1, rx2, ry2);
36     szlncl_();
37     return 0;
38 } /* sglnzr_ */
39 
40