Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Xt.cc File Reference
#include "G4Xt.hh"
#include "G4ios.hh"
#include <X11/Intrinsic.h>
#include <X11/Shell.h>
#include <stdlib.h>
#include <string.h>

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 39 of file G4Xt.cc.

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