mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Core\Rpc: GetRemainingCount (of arguments)
git-svn-id: svn://ultimatepp.org/upp/trunk@6219 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e2ed4ec36f
commit
05ba918ae6
1 changed files with 3 additions and 1 deletions
|
|
@ -208,7 +208,9 @@ struct RpcData {
|
|||
ValueMap in_map;
|
||||
ValueArray out;
|
||||
ValueMap out_map;
|
||||
|
||||
|
||||
int GetRemainingCount() const { return in.GetCount() - ii; }
|
||||
|
||||
Value Get() { if(ii >= in.GetCount()) throw ValueTypeMismatch(); return in[ii++]; }
|
||||
|
||||
template <class T>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue