X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Fwham%2Fsrc-M%2Fxdrf.org%2Funderscore.m4;fp=source%2Fwham%2Fsrc-M%2Fxdrf.org%2Funderscore.m4;h=0000000000000000000000000000000000000000;hb=0a11a2c4ccee14ed99ae44f2565b270ba8d4bbb6;hp=4d620a08c4cddd5da8879528cdff16bdbfd034a5;hpb=5eb407964903815242c59de10960f42761139e10;p=unres.git diff --git a/source/wham/src-M/xdrf.org/underscore.m4 b/source/wham/src-M/xdrf.org/underscore.m4 deleted file mode 100644 index 4d620a0..0000000 --- a/source/wham/src-M/xdrf.org/underscore.m4 +++ /dev/null @@ -1,19 +0,0 @@ -divert(-1) -undefine(`len') -# -# append an underscore to FORTRAN function names -# -define(`FUNCTION',`$1_') -# -# FORTRAN character strings are passed as follows: -# a pointer to the base of the string is passed in the normal -# argument list, and the length is passed by value as an extra -# argument, after all of the other arguments. -# -define(`ARGS',`($1`'undivert(1))') -define(`SAVE',`divert(1)$1`'divert(0)') -define(`STRING_ARG',`$1_ptr`'SAVE(`, $1_len')') -define(`STRING_ARG_DECL',`char * $1_ptr; int $1_len') -define(`STRING_LEN',`$1_len') -define(`STRING_PTR',`$1_ptr') -divert(0)