Skip to content

Commit

Permalink
include trunc in binary compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Jul 2, 2024
1 parent b3f62e3 commit 64da67e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cyclone_objects/binaries/audio/trunc.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Porres 2017-2023, part of ELSE

#include "m_pd.h"
#include <common/api.h>
#include <math.h>

static t_class *trunc_class;
Expand Down Expand Up @@ -31,7 +32,7 @@ void *trunc_new(void){
return(void *)x;
}

void trunc_tilde_setup(void){
CYCLONE_OBJ_API void trunc_tilde_setup(void){
trunc_class = class_new(gensym("trunc~"),
(t_newmethod) trunc_new, 0, sizeof (t_trunc), CLASS_MULTICHANNEL, 0);
class_addmethod(trunc_class, nullfn, gensym("signal"), 0);
Expand Down

0 comments on commit 64da67e

Please sign in to comment.