aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/iemmatrix_sources.c6
-rw-r--r--src/iemmatrix_sources.h6
-rw-r--r--src/matrix.c5
3 files changed, 11 insertions, 6 deletions
diff --git a/src/iemmatrix_sources.c b/src/iemmatrix_sources.c
index 229b4cf..2369ab4 100644
--- a/src/iemmatrix_sources.c
+++ b/src/iemmatrix_sources.c
@@ -7,11 +7,11 @@
void iemmatrix_sources_setup(void)
{
+ iematrix_setup(); /* matrix.c */
iemtx_abs_setup(); /* mtx_abs.c */
iemtx_add_setup(); /* mtx_add.c */
iemtx_and_setup(); /* mtx_and.c */
iemtx_atan_setup(); /* mtx_atan.c */
- iemtx_binops_setup(); /* mtx_binops.c */
iemtx_bitand_setup(); /* mtx_bitand.c */
iemtx_bitleft_setup(); /* mtx_bitleft.c */
iemtx_bitor_setup(); /* mtx_bitor.c */
@@ -45,16 +45,16 @@ void iemmatrix_sources_setup(void)
iemtx_index_setup(); /* mtx_index.c */
iemtx_int_setup(); /* mtx_int.c */
iemtx_inverse_setup(); /* mtx_inverse.c */
+ iemtx_isequal_setup(); /* mtx_isequal.c */
iemtx_le_setup(); /* mtx_le.c */
iemtx_log_setup(); /* mtx_log.c */
iemtx_lt_setup(); /* mtx_lt.c */
- iemtx_matrix_setup(); /* mtx_matrix.c */
iemtx_max2_setup(); /* mtx_max2.c */
iemtx_mean_setup(); /* mtx_mean.c */
iemtx_min2_setup(); /* mtx_min2.c */
iemtx_minmax_setup(); /* mtx_minmax.c */
- iemtx_mul_setup(); /* mtx_mul.c */
iemtx_mul__setup(); /* mtx_mul~.c */
+ iemtx_mul_setup(); /* mtx_mul.c */
iemtx_neq_setup(); /* mtx_neq.c */
iemtx_not_setup(); /* mtx_not.c */
iemtx_ones_setup(); /* mtx_ones.c */
diff --git a/src/iemmatrix_sources.h b/src/iemmatrix_sources.h
index 783484d..61738c5 100644
--- a/src/iemmatrix_sources.h
+++ b/src/iemmatrix_sources.h
@@ -5,11 +5,11 @@
#ifndef IEMMATRIX_SOURCES_H__
#define IEMMATRIX_SOURCES_H__
+void iematrix_setup(void); /* matrix.c */
void iemtx_abs_setup(void); /* mtx_abs.c */
void iemtx_add_setup(void); /* mtx_add.c */
void iemtx_and_setup(void); /* mtx_and.c */
void iemtx_atan_setup(void); /* mtx_atan.c */
-void iemtx_binops_setup(void); /* mtx_binops.c */
void iemtx_bitand_setup(void); /* mtx_bitand.c */
void iemtx_bitleft_setup(void); /* mtx_bitleft.c */
void iemtx_bitor_setup(void); /* mtx_bitor.c */
@@ -43,16 +43,16 @@ void iemtx_gt_setup(void); /* mtx_gt.c */
void iemtx_index_setup(void); /* mtx_index.c */
void iemtx_int_setup(void); /* mtx_int.c */
void iemtx_inverse_setup(void); /* mtx_inverse.c */
+void iemtx_isequal_setup(void); /* mtx_isequal.c */
void iemtx_le_setup(void); /* mtx_le.c */
void iemtx_log_setup(void); /* mtx_log.c */
void iemtx_lt_setup(void); /* mtx_lt.c */
-void iemtx_matrix_setup(void); /* mtx_matrix.c */
void iemtx_max2_setup(void); /* mtx_max2.c */
void iemtx_mean_setup(void); /* mtx_mean.c */
void iemtx_min2_setup(void); /* mtx_min2.c */
void iemtx_minmax_setup(void); /* mtx_minmax.c */
-void iemtx_mul_setup(void); /* mtx_mul.c */
void iemtx_mul__setup(void); /* mtx_mul~.c */
+void iemtx_mul_setup(void); /* mtx_mul.c */
void iemtx_neq_setup(void); /* mtx_neq.c */
void iemtx_not_setup(void); /* mtx_not.c */
void iemtx_ones_setup(void); /* mtx_ones.c */
diff --git a/src/matrix.c b/src/matrix.c
index 9ff82c0..28aba21 100644
--- a/src/matrix.c
+++ b/src/matrix.c
@@ -217,6 +217,7 @@ void matrix_setup(void)
matrix_class = class_new(gensym("matrix"), (t_newmethod)matrix_new,
(t_method)matrix_free, sizeof(t_matrix), 0, A_GIMME, 0);
class_addcreator((t_newmethod)matrix_new, gensym("mtx"), A_GIMME, 0);
+ class_addcreator((t_newmethod)matrix_new, gensym("iemmatrix"), A_GIMME, 0);
/* the core : functions for matrices */
class_addmethod (matrix_class, (t_method)matrix_matrix, gensym("matrix"), A_GIMME, 0);
@@ -252,3 +253,7 @@ void iemtx_matrix_setup(void){
void mtx_matrix_setup(void){
matrix_setup();
}
+
+void iematrix_setup(void){
+ matrix_setup();
+}