Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
@@ -13,7 +13,7 @@ namespace file {
inline bool signature(const std::string& a_file,unsigned char a_head[],unsigned int& a_num){ //it is assumed a_head[] can contain a_num chars.
FILE* file = ::fopen(a_file.c_str(),"rb");
if(!file) {a_num=0;return false;}
a_num = ::fread(a_head,1,a_num,file);
a_num = (unsigned int)::fread(a_head,1,a_num,file);
::fclose(file);
return true;
}