diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/classtest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/classtest.c b/src/classtest.c index b8a8a7b..76f1269 100644 --- a/src/classtest.c +++ b/src/classtest.c @@ -41,6 +41,10 @@ typedef struct _classtest static void classtest_symbol(t_classtest *x, t_symbol*s) { t_float result=0.; + if(!pd_objectmaker) { + pd_error(x, "[classtest]: couldn't find pd_objectmaker!"); + return; + } if(0!=zgetfn(&pd_objectmaker, s)) result=1.; |