| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020 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 |
|
| 9 |
#include "smalloc.h" // for smalloc |
| 10 |
#include "structs.h" // for orthlink, orthlink_float |
| 11 |
|
| 12 |
/* Allocate space for new orthlink, double version. */ |
| 13 |
struct orthlink *makeorthlnk(void) |
| 14 |
{ |
| 15 |
struct orthlink *newlnk; |
| 16 |
|
| 17 |
newlnk = smalloc(sizeof(struct orthlink)); |
| 18 |
return (newlnk); |
| 19 |
} |
| 20 |
|
| 21 |
/* Allocate space for new orthlink, float version. */ |
| 22 |
struct orthlink_float *makeorthlnk_float(void) |
| 23 |
{ |
| 24 |
struct orthlink_float *newlnk; |
| 25 |
|
| 26 |
newlnk = smalloc(sizeof(struct orthlink_float)); |
| 27 |
return (newlnk); |
| 28 |
} |