aboutsummaryrefslogtreecommitdiff
path: root/src/iemmatrix.h
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-04-30 20:06:23 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-04-30 20:06:23 +0000
commit332485a61701a72ba8c8aa25eef602c4f1ef92a6 (patch)
tree0a4ffa93ba8996a7608999b3a414b8eb03d4a4c2 /src/iemmatrix.h
parent7ea745f9ab7c2346632889c340e8586a09f986de (diff)
provide a wrapper around sys_close()
that always works, even with old Pd-versions (where we fallback to close()) svn path=/trunk/externals/iem/iemmatrix/; revision=17458
Diffstat (limited to 'src/iemmatrix.h')
-rw-r--r--src/iemmatrix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/iemmatrix.h b/src/iemmatrix.h
index dc02288..72d6d57 100644
--- a/src/iemmatrix.h
+++ b/src/iemmatrix.h
@@ -197,6 +197,12 @@ t_matrixfloat*mtx_doTranspose(t_matrixfloat*output, int row, int col);
t_matrixfloat*mtx_doMultiply(int rowA, t_matrixfloat*A, int colArowB, t_matrixfloat*B, int colB);
+/** wrapper functions in iemmatrix_utility.c
+ *
+ * iemmatrix_fdclose == sys_close
+ */
+int iemmatrix_fdclose(int fd);
+
/* for debugging purposes */
#define MARK startpost("MARK[%s:%d@%s]", __FILE__, __LINE__, __FUNCTION__), post