Methods¶
- group methods
Defines
-
ML_CATEGORY¶
-
ML_METHOD(METHOD, TYPES...)¶
-
ML_METHODX(METHOD, TYPES...)¶
-
ML_METHODZ(METHOD, TYPES...)¶
-
ML_METHODV(METHOD, TYPES...)¶
-
ML_METHODVX(METHOD, TYPES...)¶
-
ML_METHODVZ(METHOD, TYPES...)¶
-
ML_METHOD_DECL(NAME, METHOD)¶
-
ML_METHOD_ANON(NAME, METHOD)¶
Typedefs
-
typedef struct ml_method_t ml_method_t¶
-
typedef struct ml_methods_t ml_methods_t¶
-
typedef struct ml_method_cached_t ml_method_cached_t¶
Functions
-
ml_value_t *ml_method(const char *Name)¶
-
ml_value_t *ml_method_anon(const char *Name)¶
-
const char *ml_method_name(const ml_value_t *Value) __attribute__((pure))¶
-
void ml_method_by_name(const char *Method, void *Data, ml_callback_t Function, ...) __attribute__((sentinel))¶
-
void ml_method_by_value(void *Method, void *Data, ml_callback_t Function, ...) __attribute__((sentinel))¶
-
void ml_methodx_by_name(const char *Method, void *Data, ml_callbackx_t Function, ...) __attribute__((sentinel))¶
-
void ml_methodx_by_value(void *Method, void *Data, ml_callbackx_t Function, ...) __attribute__((sentinel))¶
-
void ml_method_define(ml_value_t *Value, ml_value_t *Function, int Count, ml_type_t *Variadic, ml_type_t **Types)¶
-
void ml_method_definev(ml_value_t *Method, ml_value_t *Function, ml_type_t *Variadic, ...)¶
-
void ml_method_insert(ml_methods_t *Methods, ml_method_t *Method, ml_value_t *Callback, int Count, ml_type_t *Variadic, ml_type_t **Types)¶
-
ml_value_t *ml_method_search(ml_methods_t *Methods, ml_method_t *Method, int Count, ml_value_t **Args)¶
-
ml_value_t *ml_method_wrap(ml_value_t *Function, int Count, ml_type_t **Types)¶
-
ml_method_cached_t *ml_method_search_cached(ml_methods_t *Methods, ml_method_t *Method, int Count, ml_value_t **Args)¶
-
ml_method_cached_t *ml_method_check_cached(ml_methods_t *Methods, ml_method_t *Method, ml_method_cached_t *Cached, int Count, ml_value_t **Args)¶
-
ml_value_t *ml_no_method_error(ml_method_t *Method, int Count, ml_value_t **Args)¶
-
static inline ml_value_t *ml_type_constructor(ml_type_t *Type)¶
-
static inline ml_value_t *ml_nop(void *Value)¶
-
void ml_methods_prevent_changes(ml_methods_t *Methods, int PreventChanges)¶
-
ml_methods_t *ml_methods_context(ml_context_t *Context)¶
-
struct ml_method_t
-
struct ml_method_cached_t
-
ML_CATEGORY¶