From 086cf85eca88941819909f5877d9558aaa761b72 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 5 Jul 2013 14:13:37 -0700 Subject: gras: revert block changes, test w/ callable now --- lib/block_props.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'lib/block_props.cpp') diff --git a/lib/block_props.cpp b/lib/block_props.cpp index fc4c755..ae687be 100644 --- a/lib/block_props.cpp +++ b/lib/block_props.cpp @@ -5,9 +5,6 @@ using namespace gras; -FunctionRegistry::FunctionRegistry(void){} -FunctionRegistry::~FunctionRegistry(void){} - PropertyRegistry::PropertyRegistry(void){} PropertyRegistry::~PropertyRegistry(void){} @@ -116,15 +113,3 @@ PMCC Block::_get_property(const std::string &key) { return prop_access_dispatcher((*this)->block_actor, key, PMCC(), false); } - - -void Block::_register_function(const std::string &key, void *fr) -{ - (*this)->block_data->function_registry[key].reset(reinterpret_cast(fr)); -} - -PMCC Block::_handle_function_access(const std::string &key, const std::vector &args) -{ - //TODO this is testing -- needs to call actor instead - return (*this)->block_data->function_registry[key]->call(args); -} -- cgit