diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2009-05-24 21:28:16 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2009-05-24 21:28:16 +0000 |
commit | 526b5580dabbfed7cfe5439dc3a90ec727f563c2 (patch) | |
tree | 22b1af92348785daad16714ee5e2b633017e0e48 /apps/plugins/pdbox/PDa/src/m_imp.h | |
parent | 4f2dfcc01b260d946044ef2b6af5fe36cb772c8d (diff) | |
download | rockbox-526b5580dabbfed7cfe5439dc3a90ec727f563c2.tar.gz rockbox-526b5580dabbfed7cfe5439dc3a90ec727f563c2.zip |
Cut the files in half and it might work better (note to self: check your tree is really clean before patching)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21070 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/m_imp.h')
-rw-r--r-- | apps/plugins/pdbox/PDa/src/m_imp.h | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/apps/plugins/pdbox/PDa/src/m_imp.h b/apps/plugins/pdbox/PDa/src/m_imp.h index 7632af1c2d..0444549d96 100644 --- a/apps/plugins/pdbox/PDa/src/m_imp.h +++ b/apps/plugins/pdbox/PDa/src/m_imp.h | |||
@@ -76,81 +76,4 @@ EXTERN int obj_sigoutletindex(t_object *x, int m); | |||
76 | /* misc */ | 76 | /* misc */ |
77 | EXTERN void glob_evalfile(t_pd *ignore, t_symbol *name, t_symbol *dir); | 77 | EXTERN void glob_evalfile(t_pd *ignore, t_symbol *name, t_symbol *dir); |
78 | EXTERN void glob_initfromgui(void *dummy, t_symbol *s, int argc, t_atom *argv); | 78 | EXTERN void glob_initfromgui(void *dummy, t_symbol *s, int argc, t_atom *argv); |
79 | /* Copyright (c) 1997-1999 Miller Puckette. | ||
80 | * For information on usage and redistribution, and for a DISCLAIMER OF ALL | ||
81 | * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ | ||
82 | |||
83 | /* This file contains function prototypes and data types used to implement | ||
84 | Pd, but not shared with Pd objects. */ | ||
85 | |||
86 | /* NOTE: this file describes Pd implementation details which may change | ||
87 | in future releases. The public (stable) API is in m_pd.h. */ | ||
88 | |||
89 | /* LATER consider whether to use 'char' for method arg types to save space */ | ||
90 | |||
91 | /* the structure for a method handler ala Max */ | ||
92 | typedef struct _methodentry | ||
93 | { | ||
94 | t_symbol *me_name; | ||
95 | t_gotfn me_fun; | ||
96 | t_atomtype me_arg[MAXPDARG+1]; | ||
97 | } t_methodentry; | ||
98 | 79 | ||
99 | EXTERN_STRUCT _widgetbehavior; | ||
100 | |||
101 | typedef void (*t_bangmethod)(t_pd *x); | ||
102 | typedef void (*t_pointermethod)(t_pd *x, t_gpointer *gp); | ||
103 | typedef void (*t_floatmethod)(t_pd *x, t_float f); | ||
104 | typedef void (*t_symbolmethod)(t_pd *x, t_symbol *s); | ||
105 | typedef void (*t_listmethod)(t_pd *x, t_symbol *s, int argc, t_atom *argv); | ||
106 | typedef void (*t_anymethod)(t_pd *x, t_symbol *s, int argc, t_atom *argv); | ||
107 | |||
108 | struct _class | ||
109 | { | ||
110 | t_symbol *c_name; /* name (mostly for error reporting) */ | ||
111 | t_symbol *c_helpname; /* name of help file */ | ||
112 | t_symbol *c_externdir; /* directory extern was loaded from */ | ||
113 | size_t c_size; /* size of an instance */ | ||
114 | t_methodentry *c_methods; /* methods other than bang, etc below */ | ||
115 | int c_nmethod; /* number of methods */ | ||
116 | t_method c_freemethod; /* function to call before freeing */ | ||
117 | t_bangmethod c_bangmethod; /* common methods */ | ||
118 | t_pointermethod c_pointermethod; | ||
119 | t_floatmethod c_floatmethod; | ||
120 | t_symbolmethod c_symbolmethod; | ||
121 | t_listmethod c_listmethod; | ||
122 | t_anymethod c_anymethod; | ||
123 | struct _widgetbehavior *c_wb; /* "gobjs" only */ | ||
124 | struct _parentwidgetbehavior *c_pwb;/* widget behavior in parent */ | ||
125 | t_savefn c_savefn; /* function to call when saving */ | ||
126 | t_propertiesfn c_propertiesfn; /* function to start prop dialog */ | ||
127 | int c_floatsignalin; /* onset to float for signal input */ | ||
128 | char c_gobj; /* true if is a gobj */ | ||
129 | char c_patchable; /* true if we have a t_object header */ | ||
130 | char c_firstin; /* if patchable, true if draw first inlet */ | ||
131 | char c_drawcommand; /* a drawing command for a template */ | ||
132 | }; | ||
133 | |||
134 | |||
135 | /* m_obj.c */ | ||
136 | EXTERN int obj_noutlets(t_object *x); | ||
137 | EXTERN int obj_ninlets(t_object *x); | ||
138 | EXTERN t_outconnect *obj_starttraverseoutlet(t_object *x, t_outlet **op, | ||
139 | int nout); | ||
140 | EXTERN t_outconnect *obj_nexttraverseoutlet(t_outconnect *lastconnect, | ||
141 | t_object **destp, t_inlet **inletp, int *whichp); | ||
142 | EXTERN t_outconnect *obj_connect(t_object *source, int outno, | ||
143 | t_object *sink, int inno); | ||
144 | EXTERN void obj_disconnect(t_object *source, int outno, t_object *sink, | ||
145 | int inno); | ||
146 | EXTERN void outlet_setstacklim(void); | ||
147 | EXTERN int obj_issignalinlet(t_object *x, int m); | ||
148 | EXTERN int obj_issignaloutlet(t_object *x, int m); | ||
149 | EXTERN int obj_nsiginlets(t_object *x); | ||
150 | EXTERN int obj_nsigoutlets(t_object *x); | ||
151 | EXTERN int obj_siginletindex(t_object *x, int m); | ||
152 | EXTERN int obj_sigoutletindex(t_object *x, int m); | ||
153 | |||
154 | /* misc */ | ||
155 | EXTERN void glob_evalfile(t_pd *ignore, t_symbol *name, t_symbol *dir); | ||
156 | EXTERN void glob_initfromgui(void *dummy, t_symbol *s, int argc, t_atom *argv); | ||