aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-09-16 07:21:49 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-09-16 07:21:49 +0000
commit491fbf15d2eaa60959da1d0d602ec7ad9040a1c5 (patch)
treee0718fb9efb64827d2209e0fe4eb804be3081fcb /src
parentd2c9616b79f1b01dbeb2586c7cb3d6374c579839 (diff)
[classloader]: added help-patch; check whether pd_objectmaker is there
svn path=/trunk/externals/iem/iemguts/; revision=10287
Diffstat (limited to 'src')
-rw-r--r--src/classtest.c4
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.;