OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2014 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 /* Define a typical entry point for command line tools spawned by bash |
| 8 * (e.g., ls, objdump, and objdump). */ |
| 9 |
| 10 #include "ppapi_simple/ps_main.h" |
| 11 #include "nacl_main.h" |
| 12 |
| 13 int cli_main(int argc, char* argv[]) { |
| 14 nacl_setup_env(); |
| 15 return nacl_main(argc, argv); |
| 16 } |
| 17 |
| 18 PPAPI_SIMPLE_REGISTER_MAIN(cli_main) |
OLD | NEW |