luad ~master (2016-02-18T19:12:01Z)
Home
Dub
Repo
returnTypeSize
luad
stack
Used for getting a suitable nresults argument to
lua_call
or
lua_pcall
.
template
returnTypeSize (
T
) {
static if
(
isVariableReturnType!T
)
enum
returnTypeSize
;
static if
(!(
isVariableReturnType!T
))
static if
(
isTuple!T
)
enum
returnTypeSize
;
static if
(!(
isVariableReturnType!T
))
static if
(!(
isTuple!T
))
static if
(
isStaticArray!T
)
enum
returnTypeSize
;
static if
(!(
isVariableReturnType!T
))
static if
(!(
isTuple!T
))
static if
(!(
isStaticArray!T
))
static if
(
is(T == void)
)
enum
returnTypeSize
;
static if
(!(
isVariableReturnType!T
))
static if
(!(
isTuple!T
))
static if
(!(
isStaticArray!T
))
static if
(!(
is(T == void)
))
enum
returnTypeSize
;
}
Members
Manifest constants
returnTypeSize
enum
returnTypeSize
;
Undocumented in source.
returnTypeSize
enum
returnTypeSize
;
Undocumented in source.
returnTypeSize
enum
returnTypeSize
;
Undocumented in source.
returnTypeSize
enum
returnTypeSize
;
Undocumented in source.
returnTypeSize
enum
returnTypeSize
;
Undocumented in source.
Meta
Source
See Implementation
luad
stack
functions
callWithRet
getArgument
getValue
popReturnValues
popStack
popTuple
popValue
printStack
pushReturnValues
pushTuple
pushValue
templates
isVariableReturnType
isVoidArray
luaTypeOf
returnTypeSize
Used for getting a suitable nresults argument to lua_call or lua_pcall.