Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: tests/srpc/srpc_bidir.c

Issue 5622003: Restructure the structs/unions involved in SRPC argument passing. This will... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/srpc/cat.c ('k') | tests/srpc/srpc_nrd_client.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/srpc/srpc_bidir.c
===================================================================
--- tests/srpc/srpc_bidir.c (revision 3898)
+++ tests/srpc/srpc_bidir.c (working copy)
@@ -18,7 +18,7 @@
NaClSrpcArg **in_args,
NaClSrpcArg **out_args,
NaClSrpcClosure *done) {
- const char* sd_string = (const char*) in_args[0]->u.sval.str;
+ const char* sd_string = (const char*) in_args[0]->arrays.str;
NaClSrpcService* service;
rpc->result = NACL_SRPC_RESULT_APP_ERROR;
printf("SetUpcallServices: %s\n", sd_string);
@@ -46,7 +46,7 @@
NaClSrpcArg **in_args,
NaClSrpcArg **out_args,
NaClSrpcClosure *done) {
- const char* method_name = (const char*) in_args[0]->u.sval.str;
+ const char* method_name = (const char*) in_args[0]->arrays.str;
NaClSrpcError retval;
printf("Testing upcall to method: '%s'\n", method_name);
« no previous file with comments | « tests/srpc/cat.c ('k') | tests/srpc/srpc_nrd_client.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698