[Yunq] Move method numbers to a scheme set by the parser.
This commit is contained in:
parent
3b91819a4b
commit
9e12531651
3 changed files with 5 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ glcr::Status {{interface.name}}ServerBase::HandleRequest(const glcr::ByteBuffer&
|
|||
|
||||
switch(method_select) {
|
||||
{%- for method in interface.methods %}
|
||||
case {{loop.index0}}: {
|
||||
case {{method.number}}: {
|
||||
|
||||
{% if method.request != None %}
|
||||
{{method.request}} yunq_request;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue