aboutsummaryrefslogtreecommitdiff
path: root/help-k_cfunc.pd
diff options
context:
space:
mode:
authorKjetil S. Matheussen <ksvalast@users.sourceforge.net>2004-01-08 14:55:24 +0000
committerKjetil S. Matheussen <ksvalast@users.sourceforge.net>2004-01-08 14:55:24 +0000
commit44bc5a27d53124ba82becd4181fc381053c56fdb (patch)
tree4695439f8508017260cad061ad6505d5a7200d4c /help-k_cfunc.pd
First commit of k_vst~, k_guile and k_cextsvn2git-root
svn path=/trunk/externals/k_cext/; revision=1253
Diffstat (limited to 'help-k_cfunc.pd')
-rw-r--r--help-k_cfunc.pd34
1 files changed, 34 insertions, 0 deletions
diff --git a/help-k_cfunc.pd b/help-k_cfunc.pd
new file mode 100644
index 0000000..390b46c
--- /dev/null
+++ b/help-k_cfunc.pd
@@ -0,0 +1,34 @@
+#N canvas 583 347 825 399 10;
+#X obj 31 310 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
+-262144 -1 -1 30 256;
+#X obj 259 312 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
+-262144 -1 -1 20 256;
+#X floatatom 33 110 5 0 0 0 - - -;
+#X floatatom 217 107 5 0 0 0 - - -;
+#X floatatom 30 182 5 0 0 0 - - -;
+#X obj 32 140 k_cext 2 1 \; O(0 \, INT_func(I(0) \, I(1))) \;;
+#X obj 31 234 k_cfunc 0 2 INT_func int a int b \; O(0 \, a) \; O(1
+\, b) \; return a+b \;;
+#X obj 404 315 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
+-262144 -1 -1 32 256;
+#X obj 632 317 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10
+-262144 -1 -1 12 256;
+#X floatatom 406 115 5 0 0 0 - - -;
+#X floatatom 590 112 5 0 0 0 - - -;
+#X floatatom 403 187 5 0 0 0 - - -;
+#X obj 405 144 k_cext 2 1 \; O(0 \, FLOAT_func(V(0) \, V(1))) \;;
+#X obj 404 239 k_cfunc 0 2 FLOAT_func float a float b \; O(0 \, a)
+\; O(1 \, b) \; return a+b \;;
+#X text 148 25 Demonstrating the use of two functions to add integer
+numbers. The first one does an integer operation \, the second one
+does a floating point operation.;
+#X connect 2 0 5 0;
+#X connect 3 0 5 1;
+#X connect 5 0 4 0;
+#X connect 6 0 0 0;
+#X connect 6 1 1 0;
+#X connect 9 0 12 0;
+#X connect 10 0 12 1;
+#X connect 12 0 11 0;
+#X connect 13 0 7 0;
+#X connect 13 1 8 0;