summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/libraries/ppapi_stub/main.c
blob: c1428bcb2b83b276d869630bd3d0d12d7ebe640d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2014 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.
 */

/*
 * An application that doesn't define its own main but links in -lppapi
 * gets this one.  A plugin may instead have its own main that calls
 * PpapiPluginMain (or PpapiPluginStart) after doing some other setup.
 */

int PpapiPluginMain();

int main(void) {
  return PpapiPluginMain();
}