Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VInteractorManager.cc File Reference
#include "G4VInteractorManager.hh"
#include <algorithm>
#include <cstdlib>
#include <cstring>

Go to the source code of this file.

Macros

#define NewString(str)
 

Macro Definition Documentation

◆ NewString

#define NewString ( str)
Value:
((str) != NULL ? (strcpy((char*)malloc((unsigned)strlen(str) + 1), str)) : NULL)

Definition at line 36 of file G4VInteractorManager.cc.

36#define NewString(str) \
37 ((str) != NULL ? (strcpy((char*)malloc((unsigned)strlen(str) + 1), str)) : NULL)

Referenced by G4OpenGLXViewer::CreateMainWindow(), and G4VInteractorManager::SetArguments().