9 class NoDispatchBinding : public SmokeBinding
12 typedef void (*destructed)(void* object);
14 NoDispatchBinding(destructed destruct);
17 deleted(Smoke::Index classId, void *object);
20 callMethod(Smoke::Index method, void* object,
21 Smoke::Stack stack, bool abstract);
24 className(Smoke::Index classId);
27 const destructed destruct;
30 class Binding : public NoDispatchBinding
33 typedef int (*dispatch_method)(Smoke::Index method,
34 void* object, Smoke::Stack args, int abstract);
36 Binding(destructed destruct, dispatch_method dispatch);
40 callMethod(Smoke::Index method, void* object,
41 Smoke::Stack stack, bool abstract);
45 const dispatch_method dispatch;
48 } // namespace cl_smoke
50 #endif // SMOKEBINDING_H