| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020, 2023 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
/* cgismet.c - linker specifiable driver routine for driver Metafile (met) */ |
| 9 |
#include "ifdefx.h" |
| 10 |
#include "mdcgi.h" // for xcact_, xcoon_ |
| 11 |
#include "stdtyp.h" // for anything |
| 12 |
|
| 13 |
void cgimet_(anything **, int, anything **); /* tell linker to load driver */ |
| 14 |
|
| 15 |
void cgismet(void) /* make name external so linker will load file*/ {} |
| 16 |
|
| 17 |
void cgi_def_ini(void) |
| 18 |
{ |
| 19 |
anything *devid; |
| 20 |
|
| 21 |
xcact_(cgimet_, &devid); |
| 22 |
xcoon_(&devid); |
| 23 |
|
| 24 |
} /* end cgi_def_ini */ |