diff options
Diffstat (limited to 'tcpclient.c')
-rw-r--r-- | tcpclient.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tcpclient.c b/tcpclient.c index 42fe2e0..23019d0 100644 --- a/tcpclient.c +++ b/tcpclient.c @@ -247,6 +247,8 @@ static void tcpclient_free(t_tcpclient *x) IEMNET_EXTERN void tcpclient_setup(void) { + static int again=0; if(again)return; again=1; + tcpclient_class = class_new(gensym(objName), (t_newmethod)tcpclient_new, (t_method)tcpclient_free, sizeof(t_tcpclient), 0, A_DEFFLOAT, 0); @@ -261,4 +263,10 @@ IEMNET_EXTERN void tcpclient_setup(void) post(" based on mrpeach/net, based on maxlib"); } + +IEMNET_INITIALIZER(tcpclient_setup); + + + + /* end of tcpclient.c */ |