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

Unified Diff: tests/ruby/appendix/signal_missing.c

Issue 440018: Ruby for NaCl. Please assign the appropriate reviewer. (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: '' Created 11 years, 1 month 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/ruby/appendix/ext/Setup ('k') | tests/ruby/main.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ruby/appendix/signal_missing.c
===================================================================
--- tests/ruby/appendix/signal_missing.c (revision 0)
+++ tests/ruby/appendix/signal_missing.c (revision 0)
@@ -0,0 +1,14 @@
+/* Copyright 2009 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can
+ * be found in the LICENSE file. */
+
+#include <stdio.h>
+#include "ruby.h"
+#include "rubysig.h"
+
+typedef void (*sighandler_t)(int signum);
+
+sighandler_t ruby_nativethread_signal(int signum, sighandler_t handler) {
+ rb_notimplement();
+ return 0;
+}
Property changes on: tests/ruby/appendix/signal_missing.c
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « tests/ruby/appendix/ext/Setup ('k') | tests/ruby/main.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698