1/* Copyright (c) 2011 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 */ 5 6/* From pp_module.idl modified Sat Jul 16 16:50:26 2011. */ 7 8#ifndef PPAPI_C_PP_MODULE_H_ 9#define PPAPI_C_PP_MODULE_H_ 10 11#include "ppapi/c/pp_macros.h" 12#include "ppapi/c/pp_stdint.h" 13 14/** 15 * @file 16 * This file defines the PP_Module type which uniquely identifies the module 17 * or .nexe. 18 */ 19 20 21/** 22 * @addtogroup Typedefs 23 * @{ 24 */ 25/** 26 * The PP_Module value uniquely identifies the module or .nexe. 27 * 28 * This identifier is an opaque handle assigned by the browser to the module. It 29 * is guaranteed never to be 0, so a module can initialize it to 0 to 30 * indicate a "NULL handle." 31 */ 32typedef int32_t PP_Module; 33PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Module, 4); 34/** 35 * @} 36 */ 37 38#endif /* PPAPI_C_PP_MODULE_H_ */ 39 40