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.
Nodes of different colours represent the following:
Solid arrows point from a derived type to the parent type which it
extends. Dashed arrows point from a derived type to the other
types it contains as a components, with a label listing the name(s) of
said component(s).
Components
Type
Visibility
Attributes
Name
Initial
type(c_ptr),
private
::
state
=
c_null_ptr
logical,
private
::
opened_libs
=
.false.
Source Code
type flu_Stateprivate type(c_ptr)::state=c_null_ptrlogical::opened_libs=.false.end type flu_State