File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module json_file_module
3131 ! used to open a file and get data from it.
3232 !
3333 ! A `json_file` contains only two items: an instance of a [[json_core(type)]],
34- ! which use used for all data manipulation, and a [[json_value]],
34+ ! which is used for all data manipulation, and a [[json_value]] pointer ,
3535 ! which is used to construct the linked-list data structure.
3636 ! Note that most methods in the `json_file` class are simply wrappers
3737 ! to the lower-level routines in the [[json_value_module]].
@@ -56,6 +56,9 @@ module json_file_module
5656 ! call json%destroy()
5757 ! end program test
5858 ! ```
59+ !
60+ ! @warning The `destroy()` method must be called before the variable
61+ ! goes out of scope or a memory leak will occur.
5962
6063 type,public :: json_file
6164
@@ -92,7 +95,6 @@ module json_file_module
9295 json_file_print_1, &
9396 json_file_print_2
9497
95-
9698 ! >
9799 ! Rename a variable, specifying it by path
98100 generic,public :: rename = > MAYBEWRAP(json_file_rename)
You can’t perform that action at this time.
0 commit comments