diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-03-22 20:58:25 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-03-22 20:58:25 +0000 |
commit | 2b60d55c919e7588f5aff15936e83c300b3660bb (patch) | |
tree | 14d860de7f28083d3756ad91b627de70f26788f6 /src/z_skeleton.c | |
parent | c500bc542cb7cc78d6dac3f7da3bff626056b1aa (diff) |
zexy-2.0:
- use of abstractions for objects that allow it
- some objects are build both as externals and abstractions (as slower fallbacks)
- code-layout is now 1:1 c-file<->object (this should allow for building of zexy as a collection of externals instead as a big library)
- matrix-objects have moved to iemmatrix !!
svn path=/trunk/externals/zexy/; revision=2641
Diffstat (limited to 'src/z_skeleton.c')
-rw-r--r-- | src/z_skeleton.c | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src/z_skeleton.c b/src/z_skeleton.c deleted file mode 100644 index e13c385..0000000 --- a/src/z_skeleton.c +++ /dev/null @@ -1,57 +0,0 @@ - -/* 1008:forum::für::umläute:2001 */ - -/* - skeleton : skeleton-code for message-objects -*/ - -#include "zexy.h" - -/* ------------------------- skeleton ------------------------------- */ - -/* -MESSAGE SKELETON: simple and easy -*/ - -static t_class *skeleton_class; - -typedef struct _skeleton -{ - t_object x_obj; - -} t_skeleton; - - -static void skeleton_float(t_skeleton *x, t_float f) -{ - -} - -static void skeleton_list(t_skeleton *x, t_symbol *s, int argc, t_atom *argv) -{ - -} - -static void skeleton_foo(t_skeleton *x, t_float f) -{ - -} - -static void *skeleton_new(t_floatarg f) -{ - t_skeleton *x = (t_skeleton *)pd_new(skeleton_class); - - return (x); -} - -void z_skeleton_setup(void) -{ - skeleton_class = class_new(gensym("skeleton"), (t_newmethod)skeleton_new, - 0, sizeof(t_skeleton), 0, A_DEFFLOAT, 0); - - class_addlist (skeleton_class, skeleton_list); - class_addfloat (skeleton_class, skeleton_float); - class_addmethod(skeleton_class, (t_method)skeleton_foo, gensym("foo"), A_DEFFLOAT, 0); - - class_sethelpsymbol(skeleton_class, gensym("zexy/skeleton")); -} |