#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 |
size_t | length |
Representation of Kite method (built-in and user provided)
A Kite list with names and documentation for each argument.
Referenced by kite_set_arginfo().
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(), and kite_new_method_compiled().
enum { ... } kite_function_t::functype |
The function type (compiled or bytecode)
Referenced by kite_destruct_object_nofree(), kite_new_method_bytecode(), and kite_new_method_compiled().
size_t kite_function_t::length |
Length of function, in bytes.
The number of arguments for the given method.
Referenced by kite_add_method(), kite_new_method_bytecode(), and kite_new_method_compiled().