Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update slam_lifecycle_helper_class.f90 #21

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/oop/slam_lifecycle_helper_class.f90
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ module slam_lifecycle_helper_class

private :: lifecycle_helper_create
public :: lifecycle_helper_create_from_create_function
public :: lifecycle_helper_create_if_non_existent_and_ensure_create_call
public :: lifecycle_helper_create_if_non_existent_and_ensure_final_call
public :: lc_helper_create_if_non_existent_and_ensure_create_call
public :: lc_helper_create_if_non_existent_and_ensure_final_call
public :: lifecycle_helper_finalize

contains
Expand Down Expand Up @@ -237,13 +237,13 @@ subroutine lifecycle_helper_ensure_create_call(this)
end subroutine lifecycle_helper_ensure_create_call


function lifecycle_helper_create_if_non_existent_and_ensure_create_call(existing_helper) result(this)
function lc_helper_create_if_non_existent_and_ensure_create_call(existing_helper) result(this)

character(len = *), parameter :: current_procedure_name = "lifecycle_helper_create_if_non_existent_and_ensure_create_call"
character(len = *), parameter :: current_procedure_name = "lc_helper_create_if_non_existent_and_ensure_create_call"
class(lifecycle_helper_type), pointer, intent(in) :: existing_helper
class(lifecycle_helper_type), pointer :: this
class(tehl_type), pointer :: t => null()
! character(len = *), parameter :: current_procedure_name= "lifecycle_helper_create_if_non_existent_and_ensure_create_call"
! character(len = *), parameter :: current_procedure_name= "lc_helper_create_if_non_existent_and_ensure_create_call"
! class(low_level_tehl), pointer :: low_level_t => null()

! low_level_t => low_level_tehl_create_default()
Expand Down Expand Up @@ -274,10 +274,10 @@ function lifecycle_helper_create_if_non_existent_and_ensure_create_call(existing

call t%exit_procedure(current_procedure_name)

end function lifecycle_helper_create_if_non_existent_and_ensure_create_call
end function lc_helper_create_if_non_existent_and_ensure_create_call


function lifecycle_helper_create_if_non_existent_and_ensure_final_call(existing_helper) result(this)
function lc_helper_create_if_non_existent_and_ensure_final_call(existing_helper) result(this)

class(lifecycle_helper_type), pointer, intent(in) :: existing_helper
class(lifecycle_helper_type), pointer :: this
Expand All @@ -291,6 +291,6 @@ function lifecycle_helper_create_if_non_existent_and_ensure_final_call(existing_

call this%ensure_final_call()

end function lifecycle_helper_create_if_non_existent_and_ensure_final_call
end function lc_helper_create_if_non_existent_and_ensure_final_call

end module slam_lifecycle_helper_class
Loading