ptypes

ptypes Commit Details


Date:2013-05-10 22:36:00 (11 years 7 months ago)
Author:Natalie Adams
Branch:default
Commit:6e47101f975d
Parents: 6d49b04727a6
Message:Reverting changes to variant

Changes:
Msrc/pvariant.cxx (2 diffs)

File differences

src/pvariant.cxx
2525
2626
2727
28
28
2929
3030
3131
......
9494
9595
9696
97
97
9898
99
99
100100
101101
102102
struct _varitem
{
variant key;
string key;
variant var;
_varitem(const string& ikey, const variant& ivar): key(ikey), var(ivar) {}
int _varray::compare(const void* key, const void* item) const
{
if (config.casesens)
return strcmp(pconst(key), (string)pvaritem(item)->key);
return strcmp(pconst(key), pvaritem(item)->key);
else
return strcasecmp(pconst(key), (string)pvaritem(item)->key);
return strcasecmp(pconst(key), pvaritem(item)->key);
}

Archive Download the corresponding diff file

Branches

Tags

Page rendered in 0.63307s using 14 queries.