container Derived Type

type, private :: container

a container for data that is to be passed to C. We include it here so that we can use c_loc()


Components

Type Visibility Attributes Name Initial
class(*), private, pointer :: data

Source Code

    type :: container
        !! a container for data that is
        !! to be passed to C. We include
        !! it here so that we can use `c_loc()`
        private
        class(*),pointer :: data
    end type container