1 #include "LHAPDF/FortranWrappers.h"
8 #ifndef PACKAGE_VERSION
9 #define PACKAGE_VERSION "5.x.x"
15 #define fgetlhapdfversion FC_FUNC(getlhapdfversion, GETLHAPDFVERSION)
16 void fgetlhapdfversion(char* fversion, int length) {
17 string version = PACKAGE_VERSION;
18 strncpy(fversion, version.c_str(), length);
19 for (size_t i = strlen(fversion); i < (unsigned) length; ++i) {