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

Side by Side Diff: src/untrusted/irt/irt_instance.c

Issue 25027006: Stackable IRT Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 2 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/untrusted/irt/irt_instance.h ('k') | src/untrusted/irt/irt_interfaces.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2013 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7 #include "native_client/src/untrusted/irt/irt.h"
8 #include "native_client/src/untrusted/irt/irt_instance.h"
9
10 #include <string.h>
11 #include <unistd.h>
12
13 static void print(const char *message) {
14 write(2, message, strlen(message));
15 }
16
17 static int nacl_irt_instance_init(void) {
18 print("core init\n");
19 /*struct irt *irt = (struct *irt) data;*/
20 /*nacl_irt_create_context(irt);*/
21 /*nacl_irt_instance_init(irt->instance, x);*/
22 return 0;
23 }
24
25 static void nacl_irt_instance_destroy(void) {
26 }
27
28 const struct nacl_irt_instance nacl_irt_instance = {
29 nacl_irt_instance_init,
30 nacl_irt_instance_destroy,
31 };
OLDNEW
« no previous file with comments | « src/untrusted/irt/irt_instance.h ('k') | src/untrusted/irt/irt_interfaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698