src/inc/asParse.h 1.5
1.5 2009/04/17 23:22:37 kent
Adding asTypesIsInt and asTypesIsFloating
Index: src/inc/asParse.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/asParse.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 4 -r1.4 -r1.5
--- src/inc/asParse.h 17 Mar 2009 18:25:47 -0000 1.4
+++ src/inc/asParse.h 17 Apr 2009 23:22:37 -0000 1.5
@@ -23,8 +23,14 @@
t_enum, /* enumerated symbolic values */
t_set, /* set of symbolic values */
};
+boolean asTypesIsInt(enum asTypes type);
+/* Return TRUE if it's any integer type - short, long, unsigned, etc. */
+
+boolean asTypesIsFloating(enum asTypes type);
+/* Return TRUE if it's any floating point type - float or double. */
+
struct asTypeInfo
{
enum asTypes type; /* Numeric ID of low level type. */
char *name; /* Text ID of low level type. */