flu_pushboolean Subroutine

public subroutine flu_pushboolean(L, b)

Arguments

Type IntentOptional Attributes Name
type(flu_State) :: L
logical :: b

Calls

proc~~flu_pushboolean~~CallsGraph proc~flu_pushboolean flu_pushboolean interface~lua_pushboolean lua_pushboolean proc~flu_pushboolean->interface~lua_pushboolean

Called by

proc~~flu_pushboolean~~CalledByGraph proc~flu_pushboolean flu_pushboolean proc~set_table_logical set_table_logical proc~set_table_logical->proc~flu_pushboolean interface~aot_table_set_val~2 aot_table_set_val interface~aot_table_set_val~2->proc~set_table_logical

Source Code

  subroutine flu_pushboolean(L, b)
    type(flu_State) :: L
    logical :: b

    integer(kind=lua_int) :: n_c

    if (b) then
      n_c = 1_lua_int
    else
      n_c = 0_lua_int
    end if
    call lua_pushboolean(L%state, n_c)
  end subroutine flu_pushboolean