Bug 1500587 - Skip generating bindings for constants because we don't need them. r=rhunt

Differential Revision: https://phabricator.services.mozilla.com/D9296

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Kartikaya Gupta 2018-10-21 22:59:25 +00:00
Родитель 310a492571
Коммит 2974aacd34
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -14,6 +14,10 @@ tab_width = 2
language = "C++"
namespaces = ["mozilla", "wr"]
[export]
# Skip constants because we don't have any
item_types = ["globals", "enums", "structs", "unions", "typedefs", "opaque", "functions"]
[parse]
parse_deps = true
include = ["log", "webrender", "webrender_api"]

Просмотреть файл

@ -2,7 +2,7 @@
* 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/. */
/* Generated with cbindgen:0.6.3 */
/* Generated with cbindgen:0.6.6 */
/* DO NOT MODIFY THIS MANUALLY! This file was generated using cbindgen.
* To generate this file:
@ -17,10 +17,6 @@
namespace mozilla {
namespace wr {
static const uint32_t MAX_CACHED_PROGRAM_COUNT = 15;
static const uint64_t MAX_LOAD_TIME_MS = 400;
// Whether a border should be antialiased.
enum class AntialiasBorder {
No = 0,