18 using namespace opencog;
34 printf(
"Hello I got this atom: %s\n", h->
toShortString().c_str());
40 printf(
"This is the atom: %s\n", h->
toString().c_str());
63 "hey-print",
"example"));
66 "hey-printmore",
"example"));
71 #if PYTHON_BUG_IS_FIXED
static TruthValuePtr ss_printmore(AtomSpace *atomspace, const Handle &h)
void opencog_example_init(void)
std::shared_ptr< TruthValue > TruthValuePtr
virtual std::string toShortString(std::string indent="")=0
static std::vector< FunctionWrap * > _binders
Wrapper class, to invoke misc extension code from guile.
static Handle ss_print(AtomSpace *atomspace, const Handle &h)
virtual std::string toString(std::string indent="")=0
TruthValuePtr getTruthValue()