mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
uppsrc: OLD_VALUE completely removed, Core/Rpc: Now supports Json parameters and return values
git-svn-id: svn://ultimatepp.org/upp/trunk@5356 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
295f172c86
commit
6cf239033f
29 changed files with 98 additions and 1818 deletions
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
NAMESPACE_UPP
|
||||
|
||||
#ifdef SVO_VALUE
|
||||
|
||||
static String sAsString(const Vector<Value>& v);
|
||||
|
||||
#define LTIMING(x) // RTIMING(x)
|
||||
|
|
@ -584,8 +582,6 @@ bool FnValuePairOrder::operator()(const Value& keya, const Value& valuea, const
|
|||
return (*fn)(keya, valuea, keyb, valueb) < 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void Complex::Xmlize(XmlIO& xio)
|
||||
{
|
||||
double r, i;
|
||||
|
|
@ -610,7 +606,6 @@ void Complex::Serialize(Stream& s)
|
|||
*this = C(r, i);
|
||||
}
|
||||
|
||||
#ifdef SVO_VALUE
|
||||
template <class T>
|
||||
static void sReg(const char *name)
|
||||
{
|
||||
|
|
@ -632,20 +627,6 @@ INITBLOCK
|
|||
Value::Register<Rect64>("Rect64");
|
||||
Value::Register<Rectf>("Rectf");
|
||||
}
|
||||
#else
|
||||
INITBLOCK {
|
||||
Point p;
|
||||
RichValue<Point>::Register();
|
||||
RichValue<Point64>::Register();
|
||||
RichValue<Pointf>::Register();
|
||||
RichValue<Size>::Register();
|
||||
RichValue<Size64>::Register();
|
||||
RichValue<Sizef>::Register();
|
||||
RichValue<Rect>::Register();
|
||||
RichValue<Rect64>::Register();
|
||||
RichValue<Rectf>::Register();
|
||||
}
|
||||
#endif
|
||||
|
||||
END_UPP_NAMESPACE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue