rpc: fix RPC_SIGNATURE_v_s case

main
Dominik Madarász 2023-09-08 23:00:22 +02:00
parent 3ed96fc62a
commit d848c6a06a
4 changed files with 4 additions and 4 deletions

View File

@ -338681,7 +338681,7 @@ char *rpc_full(unsigned id, const char* method, unsigned num_args, char *args[])
case RPC_SIGNATURE_i_s: return va("%d %d", id, (int)(intptr_t)found->function(args[0]) ); case RPC_SIGNATURE_i_s: return va("%d %d", id, (int)(intptr_t)found->function(args[0]) );
case RPC_SIGNATURE_s_s: return va("%d %s", id, (char*)found->function(args[0]) ); case RPC_SIGNATURE_s_s: return va("%d %s", id, (char*)found->function(args[0]) );
case RPC_SIGNATURE_s_v: return va("%d %s", id, (char*)found->function() ); case RPC_SIGNATURE_s_v: return va("%d %s", id, (char*)found->function() );
case RPC_SIGNATURE_v_s: return va("%d", id), found->function(args[0]); case RPC_SIGNATURE_v_s: return found->function(args[0]), va("%d", id);
default: break; default: break;
} }
} }

View File

@ -63,7 +63,7 @@ char *rpc_full(unsigned id, const char* method, unsigned num_args, char *args[])
case RPC_SIGNATURE_i_s: return va("%d %d", id, (int)(intptr_t)found->function(args[0]) ); case RPC_SIGNATURE_i_s: return va("%d %d", id, (int)(intptr_t)found->function(args[0]) );
case RPC_SIGNATURE_s_s: return va("%d %s", id, (char*)found->function(args[0]) ); case RPC_SIGNATURE_s_s: return va("%d %s", id, (char*)found->function(args[0]) );
case RPC_SIGNATURE_s_v: return va("%d %s", id, (char*)found->function() ); case RPC_SIGNATURE_s_v: return va("%d %s", id, (char*)found->function() );
case RPC_SIGNATURE_v_s: return va("%d", id), found->function(args[0]); case RPC_SIGNATURE_v_s: return found->function(args[0]), va("%d", id);
default: break; default: break;
} }
} }

View File

@ -9589,7 +9589,7 @@ char *rpc_full(unsigned id, const char* method, unsigned num_args, char *args[])
case RPC_SIGNATURE_i_s: return va("%d %d", id, (int)(intptr_t)found->function(args[0]) ); case RPC_SIGNATURE_i_s: return va("%d %d", id, (int)(intptr_t)found->function(args[0]) );
case RPC_SIGNATURE_s_s: return va("%d %s", id, (char*)found->function(args[0]) ); case RPC_SIGNATURE_s_s: return va("%d %s", id, (char*)found->function(args[0]) );
case RPC_SIGNATURE_s_v: return va("%d %s", id, (char*)found->function() ); case RPC_SIGNATURE_s_v: return va("%d %s", id, (char*)found->function() );
case RPC_SIGNATURE_v_s: return va("%d", id), found->function(args[0]); case RPC_SIGNATURE_v_s: return found->function(args[0]), va("%d", id);
default: break; default: break;
} }
} }

View File

@ -1,4 +1,4 @@
; this is where you specify and configure the V4K pipeline. ; this is where you specify and configure the FWK pipeline.
; tweak the pipeline and add new importers just by editing this file. ; tweak the pipeline and add new importers just by editing this file.
; there is no flow control in this script file: lines are parsed and evaluated, from top to bottom. ; there is no flow control in this script file: lines are parsed and evaluated, from top to bottom.