mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-28 06:35:55 +01:00
FOrmat, NAMESPACE
This commit is contained in:
parent
e6f7a5a818
commit
b673174b71
@ -26,8 +26,8 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
|||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
See the full license in the file "LICENSE" in the top level distribution directory
|
See the full license in the file "LICENSE" in the top level distribution directory
|
||||||
*************************************************************************************/
|
*************************************************************************************/
|
||||||
/* END LEGAL */
|
/* END LEGAL */
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
/* pab: Signal magic. Processor state dump is x86-64 specific */
|
/* pab: Signal magic. Processor state dump is x86-64 specific */
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
@ -71,8 +71,7 @@ feenableexcept (unsigned int excepts)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Grid {
|
NAMESPACE_BEGIN(Grid);
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////
|
||||||
// Convenience functions to access stadard command line arg
|
// Convenience functions to access stadard command line arg
|
||||||
@ -119,7 +118,7 @@ bool GridCmdOptionExists(char** begin, char** end, const std::string& option)
|
|||||||
{
|
{
|
||||||
return std::find(begin, end, option) != end;
|
return std::find(begin, end, option) != end;
|
||||||
}
|
}
|
||||||
// Comma separated list
|
// Comma separated list
|
||||||
void GridCmdOptionCSL(std::string str,std::vector<std::string> & vec)
|
void GridCmdOptionCSL(std::string str,std::vector<std::string> & vec)
|
||||||
{
|
{
|
||||||
size_t pos = 0;
|
size_t pos = 0;
|
||||||
@ -497,4 +496,5 @@ void Grid_debug_handler_init(void)
|
|||||||
sigaction(SIGKILL,&sa,NULL);
|
sigaction(SIGKILL,&sa,NULL);
|
||||||
sigaction(SIGILL,&sa,NULL);
|
sigaction(SIGILL,&sa,NULL);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
NAMESPACE_END(Grid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user