Skip to content

Commit 51a3095

Browse files
committed
Added extra comments to ref_internal.h
1 parent 7da1e0b commit 51a3095

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ref_internal.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ extern "C" {
4040
*/
4141
typedef struct {
4242
hFILE_wrapper base;
43+
// length: length of the inner file
4344
int length;
44-
char* file_name; // NOTE: this is set to NULL if this is an in-memory hFILE
45+
// file_name: NOTE: this is set to NULL if this is an in-memory hFILE
46+
char* file_name;
47+
// mf: This is stored if there is an open mFILE, with mmapped memory. This is closed on hclose
4548
mFILE* mf;
4649
int is_mem_hfile;
4750
} hFILE_ref;

0 commit comments

Comments
 (0)