-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #249 from rmontuoro/feature/mie-updates
Silence error messages in getChannel() and getWavelength(), and add header file in process library
- Loading branch information
Showing
4 changed files
with
38 additions
and
27 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
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,10 @@ | ||
#define __SUCCESS__ 0 | ||
#define __FAIL__ 1 | ||
#define __VERIFY__(x) if(x/=0) then; if(present(rc)) rc=x; return; endif | ||
#define __VERIFY_NO_OPT__(x) if(x/=0) then; rc=x; return; endif | ||
#define __RC__ rc=status); __VERIFY__(status | ||
#define __RC_NO_OPT__ rc=status); __VERIFY_NO_OPT__(status | ||
#define __STAT__ stat=status); __VERIFY__(status | ||
#define __IOSTAT__ iostat=status); __VERIFY__(status | ||
#define __RETURN__(x) if (present(rc)) rc=x; return | ||
#define __ASSERT__(expr) if(.not. (expr)) then; if (present(rc)) rc=-1; return; endif |