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

Unified Diff: tests/contest_issues/issue52.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/autoloader/autoloader_default.c ('k') | tests/contest_issues/issue55.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/contest_issues/issue52.c
===================================================================
--- tests/contest_issues/issue52.c (revision 3898)
+++ tests/contest_issues/issue52.c (working copy)
@@ -34,7 +34,7 @@
/*
* Strdup must be used because the SRPC layer frees the string passed to it.
*/
- out_args[0]->u.sval.str = strdup("hello, world.");
+ out_args[0]->arrays.str = strdup("hello, world.");
rpc->result = NACL_SRPC_RESULT_OK;
done->Run(done);
}
« no previous file with comments | « tests/autoloader/autoloader_default.c ('k') | tests/contest_issues/issue55.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698