Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ppapi / api / private / pp_file_handle.idl
blob07bb74b7e826c01cabef8592d578b0f8372a62bb
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
6 /**
7 * This file provides support for native OS file handles.
8 */
10 #inline c
12 #ifdef _WIN32
13 #include<windows.h>
14 typedef HANDLE PP_FileHandle;
15 static const PP_FileHandle PP_kInvalidFileHandle = NULL;
17 #else
18 typedef int PP_FileHandle;
19 static const PP_FileHandle PP_kInvalidFileHandle = -1;
20 #endif
22 #endinl