"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "layer0/Util.cpp" between
pymol-open-source-2.2.0.tar.gz and pymol-open-source-2.3.0.tar.gz

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

Util.cpp  (pymol-open-source-2.2.0):Util.cpp  (pymol-open-source-2.3.0)
skipping to change at line 218 skipping to change at line 218
while (p[0] == '\033' && p[1] == '[') { while (p[0] == '\033' && p[1] == '[') {
while (' ' <= p[2] && p[2] < '@') ++p; while (' ' <= p[2] && p[2] < '@') ++p;
p += 3; p += 3;
} }
if (p != s) if (p != s)
*s = *p; *s = *p;
if (!p[0]) if (!p[0])
break; break;
} }
} }
void UtilStripANSIEscapes(std::string& str)
{
UtilStripANSIEscapes(&str[0]);
str.resize(strlen(str.c_str()));
}
void UtilZeroMem(void *ptr,ov_size howMuch) void UtilZeroMem(void *ptr,ov_size howMuch)
{ {
char *p,*q; char *p,*q;
p=(char*)ptr; p=(char*)ptr;
q=p+howMuch; q=p+howMuch;
MemoryZero(p,q); MemoryZero(p,q);
} }
void UtilCopyMem(void *dst,const void *src,ov_size howMuch) /* optimize! */ void UtilCopyMem(void *dst,const void *src,ov_size howMuch) /* optimize! */
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)