MCPcopy Create free account
hub / github.com/devosoft/avida / CallMethod

Method CallMethod

avida-core/source/script/cASNativeObject.h:81–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 void* GetObject() { return (void*)m_object; }
80
81 cASCPPParameter CallMethod(int mid, cASCPPParameter args[]) const { return (*s_methods)[mid]->Call(m_object, args); }
82
83 bool LookupMethod(const cString& meth_name, int& mid) { return s_method_dict->Find(meth_name, mid); }
84

Callers 1

VisitObjectCallMethod · 0.80

Calls 1

CallMethod · 0.45

Tested by

no test coverage detected