flu_getmetatable Function

public function flu_getmetatable(L, index) result(errcode)

Arguments

Type IntentOptional Attributes Name
type(flu_State) :: L
integer :: index

Return Value integer


Calls

proc~~flu_getmetatable~~CallsGraph proc~flu_getmetatable flu_getmetatable interface~lua_getmetatable lua_getmetatable proc~flu_getmetatable->interface~lua_getmetatable

Source Code

  function flu_getmetatable(L, index) result(errcode)
    type(flu_State) :: L
    integer :: index, errcode

    integer(c_int) :: c_index, c_errcode

    c_index = index
    c_errcode = lua_getmetatable(L%state, c_index)
    errcode = c_errcode

  end function flu_getmetatable