aboutsummaryrefslogtreecommitdiff
path: root/tcl_class.c
diff options
context:
space:
mode:
authormescalinum <mescalinum@users.sourceforge.net>2011-11-15 14:17:58 +0000
committermescalinum <mescalinum@users.sourceforge.net>2011-11-15 14:17:58 +0000
commit519a19844437310ecce7a9295df7f1bcfe534282 (patch)
tree38a76905321ae0c28f236c684f0718676b05dba9 /tcl_class.c
parenta5595a6447547e62b58ccf74edafee4fbb21602d (diff)
fixed binbuf support
svn path=/trunk/externals/loaders/tclpd/; revision=15751
Diffstat (limited to 'tcl_class.c')
-rw-r--r--tcl_class.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tcl_class.c b/tcl_class.c
index fc4136d..46aec27 100644
--- a/tcl_class.c
+++ b/tcl_class.c
@@ -324,6 +324,12 @@ t_atom * tclpd_binbuf_get_atom(t_binbuf *b, int n) {
}
*/
+/* helper function for accessing binbuf's atoms
+ cause, accessing C arrays and doing typemaps is not that easy */
+t_atom * binbuf_getatom(t_binbuf *x, int index) {
+ return binbuf_getvec(x) + index;
+}
+
t_object * CAST_t_object(t_object *o) {
return o;
}