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

Unified Diff: tests/ruby/main.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
Index: tests/ruby/main.c
===================================================================
--- tests/ruby/main.c (revision 3855)
+++ tests/ruby/main.c (working copy)
@@ -45,13 +45,13 @@
rb_eval_string(INIT_RUBY_SCRIPT);
initialized = 1;
}
- rb_eval_string(in_args[0]->u.sval);
+ rb_eval_string(in_args[0]->arrays.str);
VALUE result = rb_eval_string("$stdout_logger.get_string()");
/*
* Strdup must be used because the SRPC layer frees the string passed to it.
*/
- out_args[0]->u.sval = strdup(StringValuePtr(result));
+ out_args[0]->arrays.str = strdup(StringValuePtr(result));
rpc->result = NACL_SRPC_RESULT_OK;
done->Run(done);
« src/shared/srpc/nacl_srpc.h ('K') | « tests/quake/nacl_file.c ('k') | tests/srpc/cat.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698