flu_pushstring Subroutine

public subroutine flu_pushstring(L, string)

Arguments

Type IntentOptional Attributes Name
type(flu_State) :: L
character(len=*), intent(in) :: string

Calls

proc~~flu_pushstring~~CallsGraph proc~flu_pushstring flu_pushstring interface~lua_pushlstring lua_pushlstring proc~flu_pushstring->interface~lua_pushlstring

Called by

proc~~flu_pushstring~~CalledByGraph proc~flu_pushstring flu_pushstring proc~set_table_string set_table_string proc~set_table_string->proc~flu_pushstring interface~aot_table_set_val~2 aot_table_set_val interface~aot_table_set_val~2->proc~set_table_string

Source Code

  subroutine flu_pushstring(L, string)
    type(flu_State) :: L
    character(len=*), intent(in) :: string

    integer(kind=c_size_t) :: c_len
    type(c_ptr) :: ret

    c_len = len(string)
    ret = lua_pushlstring(L%state, string, c_len)
  end subroutine flu_pushstring