WSTester updated to work plus hopefully all the other changes that need to go into...
[jabaws.git] / binaries / src / ViennaRNA / RNAforester / src / misc.h
diff --git a/binaries/src/ViennaRNA/RNAforester/src/misc.h b/binaries/src/ViennaRNA/RNAforester/src/misc.h
new file mode 100644 (file)
index 0000000..cf80af1
--- /dev/null
@@ -0,0 +1,21 @@
+#ifndef _MISC_H
+#define _MISC_H
+
+#include "types.h"
+
+#define DELETE(T)   if(T) \
+                    { \
+                      delete T; \
+                      T=NULL; \
+                    }
+
+#define DELETE_ARRAY(T)  if(T) \
+                         { \
+                           delete[] T; \
+                           T=NULL; \
+                         }
+
+template <class T>
+void showArray(T *array, Uint m,Uint n);
+
+#endif