Adding_MD_integration_tests
        Adding_StructOpt_integration_tests
        AutomationFragmentation_failures
        Candidate_v1.6.1
        Candidate_v1.7.0
        ChemicalSpaceEvaluator
        Enhanced_StructuralOptimization
        Enhanced_StructuralOptimization_continued
        Exclude_Hydrogens_annealWithBondGraph
        ForceAnnealing_with_BondGraph
        ForceAnnealing_with_BondGraph_contraction-expansion
        Gui_displays_atomic_force_velocity
        JobMarket_RobustOnKillsSegFaults
        JobMarket_StableWorkerPool
        PythonUI_with_named_parameters
        StoppableMakroAction
        TremoloParser_IncreasedPrecision
        stable
      
      
      
| Line |   | 
|---|
| 1 | 
 | 
|---|
| 2 | #ifndef _util_misc_string_h
 | 
|---|
| 3 | #define _util_misc_string_h
 | 
|---|
| 4 | 
 | 
|---|
| 5 | #include <string.h>
 | 
|---|
| 6 | #include <stdlib.h>
 | 
|---|
| 7 | 
 | 
|---|
| 8 | namespace sc {
 | 
|---|
| 9 | 
 | 
|---|
| 10 | inline char * 
 | 
|---|
| 11 | strdup (const char *string)
 | 
|---|
| 12 | {
 | 
|---|
| 13 |   return string ? strcpy ((char *) malloc (strlen (string) + 1), string) : 0;
 | 
|---|
| 14 | }
 | 
|---|
| 15 | 
 | 
|---|
| 16 | }
 | 
|---|
| 17 | 
 | 
|---|
| 18 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.