Changeset 19893
- Timestamp:
 - 12/14/15 06:20:33 (10 years ago)
 - File:
 - 
      
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk-jpl/src/wrappers/python/io/FetchPythonData.cpp
r19683 r19893 805 805 string=PyBytes_AS_STRING(py_bytes); 806 806 807 *pstring=string; 807 /*copy string (note strlen does not include trailing NULL): */ 808 *pstring=xNew<char>(strlen(string)+1); 809 memcpy(*pstring,string,(strlen(string)+1)*sizeof(char)); 808 810 } 809 811 /*}}}*/  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)