flu_setglobal Subroutine

public subroutine flu_setglobal(L, k)

Arguments

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

Calls

proc~~flu_setglobal~~CallsGraph proc~flu_setglobal flu_setglobal interface~lua_setglobal lua_setglobal proc~flu_setglobal->interface~lua_setglobal

Called by

proc~~flu_setglobal~~CalledByGraph proc~flu_setglobal flu_setglobal proc~flu_register flu_register proc~flu_register->proc~flu_setglobal

Contents

Source Code


Source Code

  subroutine flu_setglobal(L, k)
      type(flu_State) :: L
      character(len=*), intent(in) :: k

      character(len=len_trim(k)+1) :: c_k

      c_k = trim(k) // c_null_char

      call lua_setglobal(L%state, c_k)

  end subroutine flu_setglobal