wren.primitive

Undocumented in source.

Members

Functions

RETURN_BOOL
bool RETURN_BOOL(Value* args, bool val)
Undocumented in source. Be warned that the author may not have intended to support it.
RETURN_ERROR
bool RETURN_ERROR(WrenVM* vm, const(char)* fmt, ...)
Undocumented in source. Be warned that the author may not have intended to support it.
RETURN_ERROR
bool RETURN_ERROR(WrenVM* vm, const(char)* msg)
Undocumented in source. Be warned that the author may not have intended to support it.
RETURN_FALSE
bool RETURN_FALSE(Value* args)
Undocumented in source. Be warned that the author may not have intended to support it.
RETURN_NULL
bool RETURN_NULL(Value* args)
Undocumented in source. Be warned that the author may not have intended to support it.
RETURN_NUM
bool RETURN_NUM(Value* args, N val)
Undocumented in source. Be warned that the author may not have intended to support it.
RETURN_OBJ
bool RETURN_OBJ(Value* args, T* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
RETURN_TRUE
bool RETURN_TRUE(Value* args)
Undocumented in source. Be warned that the author may not have intended to support it.
RETURN_VAL
bool RETURN_VAL(Value* args, Value v)
Undocumented in source. Be warned that the author may not have intended to support it.
calculateRange
uint calculateRange(WrenVM* vm, ObjRange* range, uint* length, int* step)
Undocumented in source. Be warned that the author may not have intended to support it.
validateFn
bool validateFn(WrenVM* vm, Value arg, const(char)* argName)
Undocumented in source. Be warned that the author may not have intended to support it.
validateIndex
uint validateIndex(WrenVM* vm, Value arg, uint count, const(char)* argName)
Undocumented in source. Be warned that the author may not have intended to support it.
validateIndexValue
uint validateIndexValue(WrenVM* vm, uint count, double value, const(char)* argName)
Undocumented in source. Be warned that the author may not have intended to support it.
validateInt
bool validateInt(WrenVM* vm, Value arg, const(char)* argName)
Undocumented in source. Be warned that the author may not have intended to support it.
validateIntValue
bool validateIntValue(WrenVM* vm, double value, const(char)* argName)
Undocumented in source. Be warned that the author may not have intended to support it.
validateKey
bool validateKey(WrenVM* vm, Value arg)
Undocumented in source. Be warned that the author may not have intended to support it.
validateNum
bool validateNum(WrenVM* vm, Value arg, const(char)* argName)
Undocumented in source. Be warned that the author may not have intended to support it.
validateString
bool validateString(WrenVM* vm, Value arg, const(char)* argName)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

WrenPrimitive
struct WrenPrimitive
Undocumented in source.

Templates

PRIMITIVE
template PRIMITIVE(alias name, alias func, MethodType methodType = MethodType.METHOD_PRIMITIVE, bool registerToSuperClass = false)
Undocumented in source.

Meta