Functions

group functions

Defines

ML_CFUNCTION(NAME, DATA, CALLBACK)
ML_CFUNCTIONX(NAME, DATA, CALLBACK)
ML_CFUNCTIONZ(NAME, DATA, CALLBACK)
ML_FUNCTION2(NAME, FUNCTION)
ML_FUNCTION(NAME)
ML_FUNCTIONX2(NAME, FUNCTION)
ML_FUNCTIONX(NAME, TYPES...)
ML_FUNCTIONZ2(NAME, FUNCTION)
ML_FUNCTIONZ(NAME, TYPES...)
ML_CHECK_ARG_TYPE(N, TYPE)
ML_CHECK_ARG_COUNT(N)
ML_CHECKX_ARG_TYPE(N, TYPE)
ML_CHECKX_ARG_COUNT(N)
ML_CONTINUE(STATE, VALUE)
ML_RETURN(VALUE)
ML_ERROR(ARGS...)

Typedefs

typedef struct ml_cfunction_t ml_cfunction_t
typedef struct ml_cfunctionx_t ml_cfunctionx_t

Functions

int ml_function_source(ml_value_t *Value, const char **Source, int *Line)
ml_value_t *ml_cfunction(void *Data, ml_callback_t Function) __attribute__((malloc))
ml_value_t *ml_cfunctionx(void *Data, ml_callbackx_t Function) __attribute__((malloc))
ml_value_t *ml_cfunctionz(void *Data, ml_callbackx_t Function) __attribute__((malloc))
ml_value_t *ml_cfunction2(void *Data, ml_callback_t Function, const char *Source, int Line) __attribute__((malloc))
ml_value_t *ml_cfunctionx2(void *Data, ml_callbackx_t Function, const char *Source, int Line) __attribute__((malloc))
ml_value_t *ml_cfunctionz2(void *Data, ml_callbackx_t Function, const char *Source, int Line) __attribute__((malloc))
ml_value_t *ml_return_nil(void *Data, int Count, ml_value_t **Args)
ml_value_t *ml_identity(void *Data, int Count, ml_value_t **Args)
ml_value_t *ml_partial_function(ml_value_t *Function, int Count) __attribute__((malloc))
ml_value_t *ml_partial_function_set(ml_value_t *Partial, size_t Index, ml_value_t *Value)

Variables

ml_type_t MLFunctionT[]
ml_type_t MLCFunctionT[]
ml_type_t MLCFunctionXT[]
ml_type_t MLCFunctionZT[]
ml_cfunctionx_t MLCallCC[]
ml_cfunctionx_t MLMarkCC[]
ml_cfunctionx_t MLCallDC[]
ml_cfunctionx_t MLSwapCC[]
ml_type_t MLContextKeyT[]
ml_cfunction_t MLContextKey[]
struct ml_cfunction_t
struct ml_cfunctionx_t