aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/binding_tools/regen.py
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-09-22 16:14:19 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-09-26 09:07:17 +0200
commitb2e592b12185db07fb685a0b352c766c45308595 (patch)
treea4dc2f242e9910a2647abf00bc15c2e3b0e58691 /components/style/binding_tools/regen.py
parentbc9cbc87ba242ba49075dcd997f755b620196fb3 (diff)
downloadservo-b2e592b12185db07fb685a0b352c766c45308595.tar.gz
servo-b2e592b12185db07fb685a0b352c766c45308595.zip
Move most of geckolib into style::gecko
Diffstat (limited to 'components/style/binding_tools/regen.py')
-rwxr-xr-xcomponents/style/binding_tools/regen.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/components/style/binding_tools/regen.py b/components/style/binding_tools/regen.py
index aff7a8cfeb3..3ff6e2c9396 100755
--- a/components/style/binding_tools/regen.py
+++ b/components/style/binding_tools/regen.py
@@ -432,11 +432,13 @@ def build(objdir, target_name, debug, debugger, kind_name=None,
flags.append("--blacklist-type")
flags.append("{}Strong".format(ty))
flags.append("--raw-line")
- flags.append("pub type {0}Strong = ::gecko_bindings::sugar::ownership::Strong<{0}>;".format(ty))
+ flags.append("pub type {0}Strong = ::gecko_bindings::sugar::ownership::Strong<{0}>;"
+ .format(ty))
flags.append("--blacklist-type")
flags.append("{}BorrowedOrNull".format(ty))
flags.append("--raw-line")
- flags.append("pub type {0}BorrowedOrNull<'a> = ::gecko_bindings::sugar::ownership::Borrowed<'a, {0}>;".format(ty))
+ flags.append("pub type {0}BorrowedOrNull<'a> = \
+ ::gecko_bindings::sugar::ownership::Borrowed<'a, {0}>;".format(ty))
flags.append("--blacklist-type")
flags.append("{}Borrowed".format(ty))
flags.append("--raw-line")
@@ -452,7 +454,8 @@ def build(objdir, target_name, debug, debugger, kind_name=None,
flags.append("--blacklist-type")
flags.append("{}BorrowedOrNull".format(ty))
flags.append("--raw-line")
- flags.append("pub type {0}BorrowedOrNull<'a> = ::gecko_bindings::sugar::ownership::Borrowed<'a, {0}>;".format(ty))
+ flags.append("pub type {0}BorrowedOrNull<'a> = \
+ ::gecko_bindings::sugar::ownership::Borrowed<'a, {0}>;".format(ty))
# Right now the only immutable borrow types are ones which we import
# from the |structs| module. As such, we don't need to create an opaque
# type with zero_size_type. If we ever introduce immutable borrow types