#include <kite_object.h>
Public Types | |
enum | { FUNC_COMPILED, FUNC_BYTECODE } |
Data Fields | |
enum kite_function_t:: { ... } | functype |
void * | funcptr |
int | numargs |
struct kite_object_t * | arginfo |
enum { ... } kite_function_t::functype |
The function type (compiled or bytecode)
Referenced by kite_destruct_object_nofree(), kite_new_method_bytecode(), kite_new_method_compiled(), kite_vm_call_object(), kite_vm_compile_from_fp(), and kite_vm_compile_from_string().
void* kite_function_t::funcptr |
Pointer to C function or kite_opcode_t representing bytecode.
Referenced by kite_destruct_object_nofree(), kite_new_class(), kite_new_method_bytecode(), kite_new_method_compiled(), and kite_vm_call_object().
The number of arguments for the given method.
Referenced by kite_add_method(), kite_new_method_bytecode(), and kite_new_method_compiled().
struct kite_object_t* kite_function_t::arginfo [read] |
A Kite list with names and documentation for each argument.
Referenced by kite_set_arginfo().