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 /*     VIINC */
17 /* ----------------------------------------------------------------------- */
18 /*     Copyright (C) 2000-2004 GFD Dennou Club. All rights reserved. */
19 /* ----------------------------------------------------------------------- */
viinc_(integer * ix,integer * iy,integer * n,integer * jx,integer * jy,integer * ii)20 /* Subroutine */ int viinc_(integer *ix, integer *iy, integer *n, integer *jx,
21 	 integer *jy, integer *ii)
22 {
23     static logical lmiss;
24     extern /* Subroutine */ int viinc0_(integer *, integer *, integer *,
25 	    integer *, integer *, integer *), viinc1_(integer *, integer *,
26 	    integer *, integer *, integer *, integer *), gllget_(char *,
27 	    logical *, ftnlen);
28 
29     /* Parameter adjustments */
30     --iy;
31     --ix;
32 
33     /* Function Body */
34     gllget_("LMISS", &lmiss, (ftnlen)5);
35     if (lmiss) {
36 	viinc1_(&ix[1], &iy[1], n, jx, jy, ii);
37     } else {
38 	viinc0_(&ix[1], &iy[1], n, jx, jy, ii);
39     }
40     return 0;
41 } /* viinc_ */
42 
43