Skip to content

Commit c19cbc0

Browse files
committed
move extra args
1 parent 8c164c3 commit c19cbc0

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/fread.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ typedef struct freadMainArgs
174174
// Any additional implementation-specific parameters.
175175
bool oldNoDateTime;
176176

177+
// Connection spill tracking
178+
bool connectionSpillActive;
179+
double connectionSpillSeconds;
180+
double connectionSpillBytes;
181+
177182
} freadMainArgs;
178183

179184

src/freadR.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
#include <Rinternals.h>
88
#include "po.h"
99

10-
bool connectionSpillActive;
11-
double connectionSpillSeconds;
12-
double connectionSpillBytes;
13-
1410
// Before error() [or warning() with options(warn=2)] call freadCleanup() to close mmp and fix :
1511
// http://stackoverflow.com/questions/18597123/fread-data-table-locks-files
1612
// However, msg has to be manually constructed first (rather than simply leaving construction to snprintf inside warning()

0 commit comments

Comments
 (0)