flu_State Derived Type

type, public :: flu_State

Encapsulation of the Lua state.

No internal information on the Lua state is required, and so all components are private. It suffices therefore, to keep a c_ptr reference to the Lua state.


Inherits

type~~flu_state~~InheritsGraph type~flu_state flu_State c_ptr c_ptr type~flu_state->c_ptr state

Contents

Source Code


Components

Type Visibility Attributes Name Initial
type(c_ptr), private :: state = c_null_ptr
logical, private :: opened_libs = .false.

Source Code

  type flu_State
    private
    type(c_ptr) :: state = c_null_ptr
    logical :: opened_libs = .false.
  end type flu_State