Skip to content

Function interfaces: community feedback #47

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 11 commits into from
Mar 9, 2024
8 changes: 8 additions & 0 deletions include/common.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,12 @@
#:set RANK_EMPTY = ["0","0,0"]
#:set ALL_RANKS = list(zip(RANK_SYMBOL,RANK_SUFFIX,RANK_EMPTY))

#! Switches for 2 function interfaces: non-pure (with error output); pure (no error output)
#:set FUNCTION_PREFIX = ["pure ",""]
#:set FUNCTION_SUFFIX = ["","_errhandle"]
#:set FUNCTION_ERR_ARG = ["",",err"]
#:set FUNCTION_HAS_ERR = [False,True]
#:set FUNCTION_INTERFACES = list(zip(FUNCTION_PREFIX,FUNCTION_SUFFIX,FUNCTION_ERR_ARG,FUNCTION_HAS_ERR))


#:endmute
Loading