ipc/ipdl/ipdl/builtin.py
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Wed, 15 Jul 2015 13:17:33 -0700
changeset 253066 7b66128fcd1dd9b856793a3abec5b06439f61ab6
parent 215032 e7043698df0b4cf29c5509ce3f5454f200de6945
child 255254 81beff07c6dc8176f2d78d443a716259fe6be924
permissions -rw-r--r--
Bumping manifests a=b2g-bump

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# WARNING: the syntax of the builtin types is not checked, so please
# don't add something syntactically invalid.  It will not be fun to
# track down the bug.

Types = (
    # C types
    'bool',
    'char',
    'short',
    'int',
    'long',
    'float',
    'double',

    # stdint types
    'int8_t',
    'uint8_t',
    'int16_t',
    'uint16_t',
    'int32_t',
    'uint32_t',
    'int64_t',
    'uint64_t',
    'intptr_t',
    'uintptr_t',

    # stddef types
    'size_t',
    'ssize_t',

    # Mozilla types: "less" standard things we know how serialize/deserialize
    'nsresult',
    'nsString',
    'nsCString',
    'mozilla::ipc::Shmem',
    'mozilla::ipc::FileDescriptor'
)


HeaderIncludes = (
    'mozilla/Attributes.h',
    'prtime.h',
    'IPCMessageStart.h',
    'ipc/IPCMessageUtils.h',
    'nsRefPtr.h',
    'nsStringGlue.h',
    'nsTArray.h',
    'mozilla/ipc/ProtocolUtils.h',
)

CppIncludes = (
    'nsIFile.h',
    'GeckoProfiler.h',
)