blob: 01792ee8be90670ff45772e5d5565a0236d31fc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* Copyright (c) 2013 The Chromium 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 <string.h>
int main(int argc, char* argv[]) {
/* Use ppb_messaging to send "Hello World" to JavaScript. */
printf("Hello World STDOUT.\n");
/* Use ppb_console send "Hello World" to the JavaScript Console. */
fprintf(stderr, "Hello World STDERR.\n");
return 0;
}
|