Geant4-11
Macros
G4VInteractorManager.cc File Reference
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include "G4VInteractorManager.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 37 of file G4VInteractorManager.cc.