flu_islightuserdata Function

public function flu_islightuserdata(L, index) result(is_lightuserdata)

Arguments

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

Return Value logical


Calls

proc~~flu_islightuserdata~~CallsGraph proc~flu_islightuserdata flu_islightuserdata interface~lua_type lua_type proc~flu_islightuserdata->interface~lua_type

Called by

proc~~flu_islightuserdata~~CalledByGraph proc~flu_islightuserdata flu_islightuserdata proc~aot_top_get_userdata aot_top_get_userdata proc~aot_top_get_userdata->proc~flu_islightuserdata interface~aot_top_get_val~9 aot_top_get_val interface~aot_top_get_val~9->proc~aot_top_get_userdata

Source Code

  function flu_islightuserdata(L, index) result(is_lightuserdata)
    type(flu_State) :: L
    integer         :: index
    logical         :: is_lightuserdata

    integer(kind=c_int) :: c_index

    c_index = int(index, kind = c_int)
    is_lightuserdata = (lua_Type(L%state, c_index) .eq. LUA_TLIGHTUSERDATA)
  end function flu_islightuserdata