aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-04-28 14:12:42 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-04-28 14:12:42 -0400
commit428849beb3be85cf69f3ca3029d330ee2f2d842f (patch)
tree1f87a54f617b7054c2bb7b66e4e30488c40268f4 /include
parent64df149011bfd9a961493de31fe3f95376be280b (diff)
downloadspmc-428849beb3be85cf69f3ca3029d330ee2f2d842f.tar.gz
define MAXFLOAT if it is not already
Diffstat (limited to 'include')
-rw-r--r--include/strlist.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/strlist.h b/include/strlist.h
index f887643..e236473 100644
--- a/include/strlist.h
+++ b/include/strlist.h
@@ -5,20 +5,12 @@
#ifndef SPM_STRLIST_H
#define SPM_STRLIST_H
-#if !defined(MAXFLOAT)
-#include <math.h>
-#endif
-
typedef struct {
size_t num_alloc;
size_t num_inuse;
char **data;
} StrList;
-#define STRLIST_DEFAULT 1 << 0
-#define STRLIST_ASC 1 << 1
-#define STRLIST_DSC 1 << 2
-
StrList *strlist_init();
long double strlist_item_as_long_double(StrList *pStrList, size_t index);
double strlist_item_as_double(StrList *pStrList, size_t index);