-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 521.wrf_r and patch its memory-leak and fix its symbol conflicts
- Loading branch information
1 parent
3220b11
commit 674b4f5
Showing
10 changed files
with
28 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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,18 @@ | ||
#define NAME_WITH_PREFIX_AND_REVISION(prefix, revision, name) \ | ||
prefix##revision##name | ||
#define RTNAME(name) NAME_WITH_PREFIX_AND_REVISION(_Fortran, A, name) | ||
struct EnvironmentDefaultList; | ||
void RTNAME(ProgramStart)( | ||
int, const char *[], const char *[], const struct EnvironmentDefaultList *); | ||
void RTNAME(ByteswapOption)(void); // -byteswapio | ||
/* main entry into PROGRAM */ | ||
void _QQmain_wrf(void); | ||
|
||
extern const struct EnvironmentDefaultList *_QQEnvironmentDefaults; | ||
|
||
/* C main stub */ | ||
int wrf_entry(int argc, const char *argv[], const char *envp[]) { | ||
RTNAME(ProgramStart)(argc, argv, envp, _QQEnvironmentDefaults); | ||
_QQmain_wrf(); | ||
return 0; | ||
} |
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