flu_isString Function

public function flu_isString(L, index) result(is_string)

Arguments

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

Return Value logical


Calls

proc~~flu_isstring~~CallsGraph proc~flu_isstring flu_isString interface~lua_isstring lua_isString proc~flu_isstring->interface~lua_isstring

Called by

proc~~flu_isstring~~CalledByGraph proc~flu_isstring flu_isString proc~aot_top_get_string aot_top_get_string proc~aot_top_get_string->proc~flu_isstring proc~get_top_string_vvect get_top_string_vvect proc~get_top_string_vvect->proc~flu_isstring interface~aot_top_get_val~4 aot_top_get_val interface~aot_top_get_val~4->proc~get_top_string_vvect interface~aot_top_get_val~9 aot_top_get_val interface~aot_top_get_val~9->proc~aot_top_get_string

Source Code

  function flu_isString(L, index) result(is_string)
    type(flu_State) :: L
    integer         :: index
    logical         :: is_string

    integer(kind=c_int) :: c_index

    c_index = int(index, kind = c_int)
    is_string = (lua_isstring(L%state, c_index) .eq. 1)
  end function flu_isString