mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
Core/Rpc: Finished
git-svn-id: svn://ultimatepp.org/upp/trunk@5168 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9487a72e80
commit
5d13f36f14
3 changed files with 14 additions and 10 deletions
|
|
@ -41,7 +41,7 @@ void ValueGet(int& n, const Value& v)
|
|||
|
||||
void ValueGet(String& s, const Value& v)
|
||||
{
|
||||
ValueCheck(IsNull(v) || IsString(s));
|
||||
ValueCheck(IsNull(v) || IsString(v));
|
||||
s = v;
|
||||
}
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ void ValueGet(double& x, const Value& v)
|
|||
|
||||
void ValueGet(bool& x, const Value& v)
|
||||
{
|
||||
ValueCheck(IsNull(v) || IsNumber(x));
|
||||
ValueCheck(IsNull(v) || IsNumber(v));
|
||||
x = v;
|
||||
}
|
||||
|
||||
|
|
@ -67,7 +67,6 @@ Time IsoTime(const Value& v)
|
|||
|
||||
void ValueGet(Date& x, const Value& v)
|
||||
{
|
||||
DDUMP(v);
|
||||
if(IsString(v)) {
|
||||
x = IsoTime(v);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue