diff options
Diffstat (limited to 'intellect-framework-from-internet/starts/biscuit/simple_send.cpp')
-rw-r--r-- | intellect-framework-from-internet/starts/biscuit/simple_send.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/intellect-framework-from-internet/starts/biscuit/simple_send.cpp b/intellect-framework-from-internet/starts/biscuit/simple_send.cpp deleted file mode 100644 index 62820a0..0000000 --- a/intellect-framework-from-internet/starts/biscuit/simple_send.cpp +++ /dev/null @@ -1,10 +0,0 @@ -// sends information as a text line on stdout -// works on StringValue 'text' - -#include <opencog/atomspace/Handle.h> -#include <iostream> -extern "C" void simple_send(opencog::Handle data) -{ - opencog::Handle text = data.getAtomSpace()->add_node(opencog::STRING_VALUE, "text"); - std::cout << data.getValue(text).to_string() << std::endl; -} |