diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-08-19 23:28:03 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-08-19 23:28:03 +0000 |
commit | d6a71adae7c90224e2a49f0edcd4fd52fa0a1b30 (patch) | |
tree | 3ff96fa9bd7aceaeb5c832c097788c80a98bee17 /pd/src/m_glob.c | |
parent | 8892fb6aabcbfd2c4695c154c22751b5fe5c9004 (diff) |
Version 0.39-0test5. Bug fixes and more care about closing dirty windows
and quitting.
svn path=/trunk/; revision=3434
Diffstat (limited to 'pd/src/m_glob.c')
-rw-r--r-- | pd/src/m_glob.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pd/src/m_glob.c b/pd/src/m_glob.c index bcd9d6f3..aca3bf24 100644 --- a/pd/src/m_glob.c +++ b/pd/src/m_glob.c @@ -12,7 +12,7 @@ static t_class *maxclass; over. Some others are prototyped in m_imp.h as well. */ void glob_setfilename(void *dummy, t_symbol *name, t_symbol *dir); -void glob_quit(void *dummy); +void glob_verifyquit(void *dummy, t_floatarg f); void glob_dsp(void *dummy, t_symbol *s, int argc, t_atom *argv); void glob_meters(void *dummy, t_floatarg f); void glob_key(void *dummy, t_symbol *s, int ac, t_atom *av); @@ -79,6 +79,8 @@ void glob_init(void) class_addmethod(glob_pdobject, (t_method)glob_evalfile, gensym("open"), A_SYMBOL, A_SYMBOL, 0); class_addmethod(glob_pdobject, (t_method)glob_quit, gensym("quit"), 0); + class_addmethod(glob_pdobject, (t_method)glob_verifyquit, + gensym("verifyquit"), A_DEFFLOAT, 0); class_addmethod(glob_pdobject, (t_method)glob_foo, gensym("foo"), A_GIMME, 0); class_addmethod(glob_pdobject, (t_method)glob_dsp, gensym("dsp"), A_GIMME, 0); class_addmethod(glob_pdobject, (t_method)glob_meters, gensym("meters"), |