Get default feature collections (debug and release)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(feature_collection_t), | intent(out), | allocatable | :: | collections(:) |
Feature collections array to populate (debug and release) |
|
type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
subroutine get_default_features(collections, error) !> Feature collections array to populate (debug and release) type(feature_collection_t), allocatable, intent(out) :: collections(:) !> Error handling type(error_t), allocatable, intent(out) :: error ! Allocate array for debug and release collections allocate(collections(2)) ! Create debug and release collections collections(1) = default_debug_feature() collections(2) = default_release_feature() end subroutine get_default_features