diff --git a/externals/cxc/ENV.c b/externals/cxc/ENV.c index c898559d9941f3a6cb7767364ff1333a9c09062b..e8c2fe56eda636656b4dd4bdb34fda6eafc727f9 100644 --- a/externals/cxc/ENV.c +++ b/externals/cxc/ENV.c @@ -81,8 +81,8 @@ void ENV_setup(void) ENV_class = class_new(gensym("ENV"), (t_newmethod)ENV_new, 0, sizeof(t_ENV), 0, 0); class_addmethod(ENV_class, (t_method)ENV_RAND_MAX, gensym("RAND_MAX"), 0); - class_addmethod(ENV_class, (t_method)ENV_getenv, gensym("getenv"), A_SYMBOL); - class_addmethod(ENV_class, (t_method)ENV_setenv, gensym("setenv"), A_SYMBOL, A_SYMBOL); + class_addmethod(ENV_class, (t_method)ENV_getenv, gensym("getenv"), A_SYMBOL, 0); + class_addmethod(ENV_class, (t_method)ENV_setenv, gensym("setenv"), A_SYMBOL, A_SYMBOL, 0); class_addfloat(ENV_class, ENV_float); } diff --git a/externals/cxc/proc.c b/externals/cxc/proc.c index 1bb633c799ee2e755240e131a8e9ad26d9c4c609..7bb11e58d5c18adfc32cf3f18f56713c6986ecb4 100644 --- a/externals/cxc/proc.c +++ b/externals/cxc/proc.c @@ -213,10 +213,10 @@ void proc_setup(void) proc_class = class_new(gensym("proc"), (t_newmethod)proc_new, 0, sizeof(t_proc), 0, 0); class_addmethod(proc_class, (t_method)proc_cpuinfo, gensym("cpuinfo"), 0); - class_addmethod(proc_class, (t_method)proc_proc, gensym("proc"), A_SYMBOL); + class_addmethod(proc_class, (t_method)proc_proc, gensym("proc"), A_SYMBOL, 0); //class_addmethod(proc_class, (t_method)proc_RAND_MAX, gensym("RAND_MAX"), 0); - //class_addmethod(proc_class, (t_method)proc_getenv, gensym("getenv"), A_SYMBOL); - //class_addmethod(proc_class, (t_method)proc_setenv, gensym("setenv"), A_SYMBOL, A_SYMBOL); + //class_addmethod(proc_class, (t_method)proc_getenv, gensym("getenv"), A_SYMBOL, 0); + //class_addmethod(proc_class, (t_method)proc_setenv, gensym("setenv"), A_SYMBOL, A_SYMBOL, 0); class_addfloat(proc_class, proc_float); }