Skip to content

Commit

Permalink
Merge pull request #22 from Space-Systems/manschub-patch-2
Browse files Browse the repository at this point in the history
Update enter_exit_macros.inc
  • Loading branch information
manschub authored Jan 8, 2025
2 parents 1265384 + 93666d5 commit 5a5bdac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/oop/enter_exit_macros.inc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
if (.not. t%enter_procedure_ok(checkin_name)) then ;\
return ;\
end if ;\
this%lifecycle_helper => lifecycle_helper_create_if_non_existent_and_ensure_create_call(this%lifecycle_helper)
this%lifecycle_helper => lc_helper_create_if_non_existent_and_ensure_create_call(this%lifecycle_helper)

#define ENTER_CREATE_PROCEDURE(procedure_name) ;\
ENTER_EXIT_COMMON_DECLARATIONS(procedure_name) ;\
Expand All @@ -77,18 +77,18 @@
#define ENTER_FINALIZE_PROCEDURE(procedure_name) ;\
ENTER_EXIT_COMMON_DECLARATIONS(procedure_name) ;\
ENTER_EXIT_CHECKIN_STUFF ;\
object_to_destroy%lifecycle_helper => lifecycle_helper_create_if_non_existent_and_ensure_create_call(object_to_destroy%lifecycle_helper) ;\
object_to_destroy%lifecycle_helper => lc_helper_create_if_non_existent_and_ensure_create_call(object_to_destroy%lifecycle_helper) ;\
call object_to_destroy%lifecycle_helper%set_finalize_subroutine_called()

#define ENTER_FINALIZE_INTERNAL_PROCEDURE(procedure_name) ;\
ENTER_EXIT_COMMON_DECLARATIONS(procedure_name) ;\
ENTER_EXIT_CHECKIN_STUFF ;\
this%lifecycle_helper => lifecycle_helper_create_if_non_existent_and_ensure_final_call(this%lifecycle_helper)
this%lifecycle_helper => lc_helper_create_if_non_existent_and_ensure_final_call(this%lifecycle_helper)

#define ENTER_NORMAL_PROCEDURE(procedure_name) ;\
ENTER_EXIT_COMMON_DECLARATIONS(procedure_name) ;\
ENTER_EXIT_CHECKIN_STUFF ;\
this%lifecycle_helper => lifecycle_helper_create_if_non_existent_and_ensure_create_call(this%lifecycle_helper)
this%lifecycle_helper => lc_helper_create_if_non_existent_and_ensure_create_call(this%lifecycle_helper)


#define EXIT_PROCEDURE() ;\
Expand Down

0 comments on commit 5a5bdac

Please sign in to comment.