mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Merge CGThing.declare and CGThing.define.
This distincion is carried over from the C++ codegen, but it has no meaning in Rust.
This commit is contained in:
parent
8c1f6bc72d
commit
dd160b6392
3 changed files with 62 additions and 138 deletions
|
@ -19,8 +19,7 @@ def generate_binding_rs(config, outputprefix, webidlfile):
|
|||
|
||||
filename = outputprefix + ".rs"
|
||||
root = CGBindingRoot(config, outputprefix, webidlfile)
|
||||
root2 = CGBindingRoot(config, outputprefix, webidlfile)
|
||||
if replaceFileIfChanged(filename, root.declare() + root2.define()):
|
||||
if replaceFileIfChanged(filename, root.define()):
|
||||
print "Generating binding implementation: %s" % (filename)
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue