summaryrefslogtreecommitdiff
path: root/lib/77bit/decoder_codec_context.f90
blob: 2f8c0daa1f30c6b86751fc0528a255d76b2118fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module decoder_codec_context
  use packjt77, only: pack77_state,initialize_pack77_state
  implicit none
  private
  public :: get_decoder_codec_state

  type(pack77_state), save, target :: gui_codec_state

contains

  function get_decoder_codec_state() result(state)
    type(pack77_state), pointer :: state
    call initialize_pack77_state(gui_codec_state)
    state => gui_codec_state
  end function
end module decoder_codec_context