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

Go to the source code of this file.

Macros

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

Macro Definition Documentation

◆ NewString

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

Definition at line 40 of file G4Xt.cc.