-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separated headers; CRLF handling; Win .onLoad()
Needed to fix CRLG again. GRIB API functions that are made public in this package have been split out into their own header. Added onLoad function for Windows to handle GRIB_DEFINITION_PATH
- Loading branch information
Nathan Wendt
committed
Jan 4, 2017
1 parent
a114801
commit d8c8380
Showing
7 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
^configure\.ac$ | ||
^README\.md$ | ||
^\.DS_Store$ | ||
^\.Rhistory$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.onLoad <- function(library, package) { | ||
if(.Platform$OS.type == "windows") { | ||
if (Sys.getenv("GRIB_DEFINITION_PATH") == "") { | ||
Sys.setenv(GRIB_DEFINITION_PATH = "") | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* This header contains functions/structs in the GRIB API that have not been | ||
made public via the main header but are used by gribr */ | ||
|
||
void grib_index_rewind(grib_index* index); | ||
char *grib_context_full_defs_path(grib_context* c, const char* basename); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters