#include <ExternFunction.h>
Public Member Functions | |
| Callback | get_callback () const |
| bool | init (const cl7::string_type &definition, Callback callback) |
| bool | validate () const |
| bool | call (VirtualMachine *vm, RuntimeEnvironment *env, Args &args, Value *result, ValueHandler *value_handler) const |
Public Attributes | |
| friend | VirtualMachine |
| friend | Library |
| bool el7::scripting::ExternFunction::call | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | const [virtual] |
Calls the associated native callback function.
Implements el7::scripting::BaseFunction.
| Callback el7::scripting::ExternFunction::get_callback | ( | ) | const [inline] |
Returns the native callback function.
| bool el7::scripting::ExternFunction::init | ( | const cl7::string_type & | definition, | |
| Callback | callback | |||
| ) |
Initializes this function object.
| bool el7::scripting::ExternFunction::validate | ( | ) | const [virtual] |
Validates this function object (for debugging purposes).
Implements el7::scripting::BaseFunction.
Reimplemented from el7::scripting::BaseFunction.
1.7.1